difos/target/linux/generic-2.6
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
..
base-files base-files: show boot state on intramfs images 2010-03-18 19:19:21 +00:00
files ip17xx: Introduce indirection of low-level operations 2010-06-08 20:18:20 +00:00
files-2.6.25/drivers remove more duplicate kernel source files 2009-12-25 12:09:03 +00:00
image define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files 2010-04-12 23:15:56 +00:00
patches-2.6.25 update OCF framework to version 20100325 2010-05-04 20:59:19 +00:00
patches-2.6.30 target/generic-2.6: add missing bits for 2.6.30 ssb update 2010-05-19 17:07:40 +00:00
patches-2.6.31 ssb: activate CONFIG_SSB_BLOCKIO in the kernel and not in compat-wireless. 2010-05-15 11:04:53 +00:00
patches-2.6.32 refresh kernel patches 2010-06-06 21:16:31 +00:00
patches-2.6.33 generic: update mips multimachine patch 2010-06-05 18:26:45 +00:00
patches-2.6.34 generic: update mips multimachine patch 2010-06-05 18:26:45 +00:00
patches-2.6.35 generic-2.6: fix mini_fo 2.6.35 kernel issue 2010-06-08 16:44:42 +00:00
config-2.6.25 update OCF framework to version 20100325 2010-05-04 20:59:19 +00:00
config-2.6.30 do not override kmod-usb-storage-extras Kconfig symbols (#7285) 2010-06-06 19:02:30 +00:00
config-2.6.31 do not override kmod-usb-storage-extras Kconfig symbols (#7285) 2010-06-06 19:02:30 +00:00
config-2.6.32 do not override kmod-usb-storage-extras Kconfig symbols (#7285) 2010-06-06 19:02:30 +00:00
config-2.6.33 do not override kmod-usb-storage-extras Kconfig symbols (#7285) 2010-06-06 19:02:30 +00:00
config-2.6.34 generic: add missing config symbol for 2.6.34 2010-06-07 09:18:18 +00:00
config-2.6.35 fix a typo on commit r21704 2010-06-08 16:19:34 +00:00