generic: rtl8366: get rid of private vlan_{mc,4k} structs
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Jul 2010 13:05:02 +0000 (13:05 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Jul 2010 13:05:02 +0000 (13:05 +0000)
commit320e8ef881264fc560ad4634493842403811169d
treec6df874f19ba23a8fcfc1a9f930ccbb8df7b403a
parentc26785337f92df70c1ac31f5c35ded59a1b2a2fa
generic: rtl8366: get rid of private vlan_{mc,4k} structs

The usage of bitfields causes problems in Little-Endian mode. Remove
them and manipulate the bits directly in the appropriate functions. This
change also reduces the size of the binary a bit.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22192 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
target/linux/generic/files/drivers/net/phy/rtl8366s.c