summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/drivers/net/phy/ar8216.c
Commit message (Collapse)AuthorAgeFilesLines
* Several small fixes for ar8216 driver (patch by Jonas Gorski)nbd2010-03-091-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix link status detection in various switch driversnbd2009-12-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move the updated version (for 2.6.30+) of ar8216/mvswitch to the generic ↵nbd2009-09-161-8/+12
| | | | | | files directory and remove patches for older kernel versions (no longer in use) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: rename the vlan attribute to enable_vlan to keep it consistent with ↵nbd2009-07-111-1/+1
| | | | | | other drivers git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: fix transmission of large frames by setting the switch mtunbd2009-06-291-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: add delay for page switching to work around register setting ↵nbd2009-06-141-5/+120
| | | | | | corruption. use packet mangling to fix up the vlan for incoming packets (workaround for hardware bug, which renders normal 802.1q support unusable) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a driver for Atheros AR8216 switchesnbd2009-04-291-0/+528
Thanks to Vertical Communications, Inc. for providing access to the documentation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15482 3c298f89-4303-0410-b956-a3cf2f4a3e73