1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 06:54:58 +01:00
openwrt/target/linux
Felix Fietkau 513e8c583f 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
2010-03-09 14:35:41 +00:00
..
adm5120
amazon
ar7
ar71xx
at91
atheros
au1000
avr32
brcm47xx brcm47xx: fix commit r18413 "128MB ram problem" 2010-03-08 22:03:00 +00:00
brcm63xx
brcm-2.4
cobalt
coldfire
ep93xx
etrax
gemini
generic-2.4
generic-2.6 Several small fixes for ar8216 driver (patch by Jonas Gorski) 2010-03-09 14:35:41 +00:00
goldfish
ifxmips
iop32x
ixp4xx
kirkwood
malta
mpc52xx
mpc83xx
octeon
omap35xx
orion
ppc40x
ppc44x
ps3
pxa
pxcab
ramips
rb532
rdc
s3c24xx
sibyte
ubicom32
uml
x86
xburst jz4740: Properly setup intc irq handler. 2010-03-09 12:03:48 +00:00
Makefile