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)
commit332a6d65dc51dd60f841a47e0153e13685acd7ba
treec6df874f19ba23a8fcfc1a9f930ccbb8df7b403a
parent442332796d34fcb09660fa605dc4070bba70039d
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.

SVN-Revision: 22192
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
target/linux/generic/files/drivers/net/phy/rtl8366s.c