1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-20 09:37:17 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
juhosg
823a90641e generic: ar8216: move port initialization into a separate function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:46 +00:00
juhosg
f7dadcb854 generic: ar8216: improve ar8216_wait_bit function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:45 +00:00
juhosg
47f3a7dbc1 generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:43 +00:00
juhosg
f8b56bc9d2 generic: ar8216: use the generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:42 +00:00
juhosg
6977635623 generic: ar8216: use mdiobus_write in ar8236_hw_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:31 +00:00
juhosg
044f0f9c5a generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:30 +00:00
juhosg
6ac61155e0 generic: ar8216: fix phy driver name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:28 +00:00
nbd
63c3f72940 ar8216: use vlan configuration for connecting ports (forced to be untagged) even with vlan_enable=0, but keep them isolated before the switch has been configured
this makes enable_vlan=0 practical for vlan passthrough

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:11 +00:00
nbd
25b268205a ar8216: do not strip vlan tags when running with vlan_enable=0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:08 +00:00
juhosg
9394e4a065 kernel: ar8216: add support for the AR8236 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 14:09:52 +00:00
juhosg
63898b07cc kernel: ar8216: move port vlan setup into a separate function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 14:09:50 +00:00
jogo
c57886b49b ar8216: use mdiobus_{read,write} to ensure proper locking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:10 +00:00
juhosg
ce883e3127 generic: ar8216: add support for get link status
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:41 +00:00
nbd
dc218ac48d ar8316: automatically detect whether port4 is used as PHY or as a switch port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 21:27:37 +00:00
nbd
bfce59f539 ar8216: support AR8316 rev 0 devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 19:30:43 +00:00
jow
f7cc8b197c [generic] unify extended vlan id swconfig attributes.
AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid".
Change all to "vid" and annotate the description with the valid ID range.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-12 20:49:35 +00:00
nbd
f093fbf8a3 swconfig: cleanup of kernel drivers and interface
- add some comments to a few data structures
- add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy
- get rid of the switch_dev.priv pointer - using container_of() is better

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-04 00:43:40 +00:00
nbd
c5552ad039 rename target/linux/generic-2.6 to generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:58 +00:00