1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-20 09:37:17 +03:00
openwrt-xburst/target/linux/generic-2.6/files/drivers/net/phy
nbd 455e74f063 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).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 14:35:41 +00:00
..
adm6996.c fix link status detection in various switch drivers 2009-12-08 14:06:09 +00:00
adm6996.h Add stub driver for ADM6996F switches (configured through MII) 2008-04-20 02:53:04 +00:00
ar8216.c Several small fixes for ar8216 driver (patch by Jonas Gorski) 2010-03-09 14:35:41 +00:00
ar8216.h Several small fixes for ar8216 driver (patch by Jonas Gorski) 2010-03-09 14:35:41 +00:00
ip175c.c fix a crash in ip175c attribute enumeration 2009-04-30 13:57:22 +00:00
mvswitch.c fix link status detection in various switch drivers 2009-12-08 14:06:09 +00:00
mvswitch.h add missing defines for mvswitch 2008-07-21 18:12:38 +00:00
rtl8306.c rtl8306: manage the wan port as a separate phy device with proper link status reading and autonegotiation - the genphy driver does not handle it properly 2009-12-09 03:25:33 +00:00
rtl8366_smi.c rtl8366_smi: sanitize gpio values to a 0/1 boolean 2010-01-30 15:25:12 +00:00
rtl8366_smi.h rtl8366: make it available on all platforms 2010-01-25 15:13:38 +00:00
rtl8366rb.c kernel: add driver for the RTL8366RB switch 2010-02-24 13:39:02 +00:00
rtl8366s.c rtl8366s: reset the chip early, this allows ethernet to work as soon as possible 2010-01-27 21:01:48 +00:00
swconfig.c swconfig: add a generic switch reset call 2009-04-28 19:16:17 +00:00