wifipineapple-openwrt/target
Gabor Juhos 83ae20132e 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:20 +00:00
..
imagebuilder [imagebuilder] 2010-04-27 22:16:40 +00:00
linux ip17xx: Introduce indirection of low-level operations 2010-06-08 20:18:20 +00:00
sdk sdk: fix up paths for $(ARCH_SUFFIX) 2010-03-17 16:03:08 +00:00
toolchain target/toolchain: match toolchain directory name changes in r19885 & r20215 (closes: #7148 & #7162) 2010-04-15 00:33:40 +00:00
Config.in buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ 2010-04-28 14:47:43 +00:00
Makefile Add a target (CONFIG_MAKE_CONFIG) that creates an exportable toolchain. The toolchain will zipped and saved under $(TOPDIR)/bin directory. 2009-11-14 17:51:32 +00:00