openwrtv3/target/linux/generic-2.6/files/drivers/net/phy
Gabor Juhos 065bc60f37 ip17xx: Introduce indirection of low-level operations
This patch introduces seperation between low-level and high-level parts
of the driver. The low-level functions are now called via pointers stored
in struct ip175c_regs.

The only functional changes are:

  o  correct_vlan_state() is now called as a part of every update_state().

  o  The order of setting of MODE_REG and resetting switch ports
     has changed. (These are independent actions, so it should not matter.)

  o  ip175c_set_tagged() sets the tags via update_state() instead of writing
     directly to the registers.

  o  The same for ip175c_set_pvid().

The only gaps in this abstraction are operations on ports (get_port_speed
and friends), which access PHY registers directly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21714
2010-06-08 20:18:20 +00:00
..
adm6996.c fix link status detection in various switch drivers 2009-12-08 14:06:09 +00:00
adm6996.h Add stub driver for ADM6996F switches (configured through MII) The driver currently uses a hardcoded VLAN mapping and has no configuration yet Tested on Accton MR3202a 2008-04-20 02:53:04 +00:00
ar8216.c Generic: Clean up output of AR8216 driver. 2010-04-10 11:34:11 +00:00
ar8216.h Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices. 2010-04-05 23:03:16 +00:00
ip175c.c ip17xx: Introduce indirection of low-level operations 2010-06-08 20:18:20 +00:00
mvswitch.c fix link status detection in various switch drivers 2009-12-08 14:06:09 +00:00
mvswitch.h add missing defines for mvswitch 2008-07-21 18:12:38 +00:00
rtl8306.c rtl8306: manage the wan port as a separate phy device with proper link status reading and autonegotiation - the genphy driver does not handle it properly 2009-12-09 03:25:33 +00:00
rtl8366_smi.c rtl8366_smi: sanitize gpio values to a 0/1 boolean 2010-01-30 15:25:12 +00:00
rtl8366_smi.h rtl8366: make it available on all platforms 2010-01-25 15:13:38 +00:00
rtl8366rb.c kernel: add driver for the RTL8366RB switch 2010-02-24 13:39:02 +00:00
rtl8366s.c rtl8366s: reset the chip early, this allows ethernet to work as soon as possible 2010-01-27 21:01:48 +00:00
swconfig.c swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED 2010-06-08 20:17:03 +00:00