aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-09 14:35:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-09 14:35:41 +0000
commit513e8c583f8747d2be20a0a10cf9e58b27d0e82b (patch)
tree51eb186a88ad4e37ac8f0be63ccc887832564025 /target/linux/brcm47xx
parenta5441beb82e7dde4edb1206535aa7710ba941bc4 (diff)
downloadupstream-513e8c583f8747d2be20a0a10cf9e58b27d0e82b.tar.gz
upstream-513e8c583f8747d2be20a0a10cf9e58b27d0e82b.tar.bz2
upstream-513e8c583f8747d2be20a0a10cf9e58b27d0e82b.zip
Several small fixes for ar8216 driver (patch by Jonas Gorski)
* Create defines for some magic values/masks. * Change vlan_id to u16, to allow VIDs > 255. * Add a range check to set_pvid as it isn't a VID, but the index in the vlan table. * Set the max VID to 4094, since 4095 is a reserved value and should not be used. * In mangle_rx replace the provided VID with the VID of the table entry of the port, not the index of the table. * In hw_apply, remove a redundant emptyness check (was already checked several lines above). * In no vlan mode do not set the ingress mode to secure, as there are no vlan table entries, but to use the port's destination masks. Otherwise the switch won't forward anything. * In read_status tell that the phy is up (taken from the rtl8306 driver). SVN-Revision: 20083
Diffstat (limited to 'target/linux/brcm47xx')
0 files changed, 0 insertions, 0 deletions