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)
commit5508b23aafc682e014538ea437d8567e6fd1346b
treee07725a20e9d8f6ec7bd1691b94fac570ee36c5c
parent540b3e6419d0b7910c5fefc213aafa3fd26e91ad
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