generic: rtl8366: get rid of private vlan_{mc,4k} structs
authorGabor Juhos <juhosg@openwrt.org>
Thu, 15 Jul 2010 13:05:02 +0000 (13:05 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 15 Jul 2010 13:05:02 +0000 (13:05 +0000)
commit1f37fff7de8c8ebed6128b580ba991535a0586c8
treec6df874f19ba23a8fcfc1a9f930ccbb8df7b403a
parente215d60a70050f82b8f1802bfdcb9431fb2ecd4d
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