openwrtv3/target/linux/generic-2.6/files
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
..
arch/mips/fw/myloader move MyLoader stuff into generic files, will be used on adm5120 2008-11-17 09:19:27 +00:00
crypto/ocf fix build error on hifnHIPP spotted by buildbot 2010-05-05 09:03:59 +00:00
drivers ip17xx: Introduce indirection of low-level operations 2010-06-08 20:18:20 +00:00
fs/yaffs2 files/fs/yaffs2: revert changes in r15242 that break patching on 2.6.28 2009-04-18 06:29:23 +00:00
include/linux swconfig: Add cpu port index to help output. 2010-04-16 19:32:40 +00:00