swconfig: cleanup of kernel drivers and interface
authorFelix Fietkau <nbd@openwrt.org>
Wed, 4 Aug 2010 00:43:40 +0000 (00:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 4 Aug 2010 00:43:40 +0000 (00:43 +0000)
commit324365407402d1dc790b3a145698d06064aec22e
treea9432c86caea410933545f281cf2bba534c5e3f4
parentefd5dad074b3e31944c5e60c936687b6b33a4d2f
swconfig: cleanup of kernel drivers and interface
- add some comments to a few data structures
- add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy
- get rid of the switch_dev.priv pointer - using container_of() is better

SVN-Revision: 22476
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ip17xx.c
target/linux/generic/files/drivers/net/phy/rtl8306.c
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
target/linux/generic/files/drivers/net/phy/rtl8366s.c
target/linux/generic/files/drivers/net/phy/swconfig.c
target/linux/generic/files/include/linux/switch.h
target/linux/generic/patches-2.6.32/651-swconfig-2.6.32-fix.patch [deleted file]
target/linux/generic/patches-2.6.33/651-swconfig-2.6.32-fix.patch [deleted file]
target/linux/generic/patches-2.6.34/651-swconfig-2.6.32-fix.patch [deleted file]
target/linux/generic/patches-2.6.35/651-swconfig-2.6.32-fix.patch [deleted file]