John Crispin
64ccdb98fb
ar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_set
...
Introduce ar8xxx_reg_clear complementing ar8xxx_reg_set.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44004
2015-01-17 14:24:56 +00:00
John Crispin
0fb39e6f4b
ar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriate
...
Replace ar8xxx_rmw with ar8xxx_reg_set where appropriate.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44003
2015-01-17 14:24:47 +00:00
John Crispin
1cb2596f19
ar8216: define all switch_addr structs as const
...
Define all switch_addr structs as const.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44002
2015-01-17 14:24:40 +00:00
Felix Fietkau
1cbf0fbcb4
ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c
...
Move all AR8327/AR8337-specific driver code into a separate source file
ar8327.c and adjust patches so that ar8327.c is compiled if
CONFIG_AR8216_PHY is set.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43845
2015-01-05 13:03:07 +00:00