Commit Graph

26 Commits (6a57a1fbdb26ac24e940b19a801ecdaa64038e3d)

Author SHA1 Message Date
Gabor Juhos 2149facb53 generic: ar8216: use usleep_range in ar8216_mii_{read,write}
msleep(1) can sleep for up to 20ms.

SVN-Revision: 30885
12 years ago
Gabor Juhos 77d0a8ca85 generic: ar8216: add a helper function for writing PHY debug registers
SVN-Revision: 30884
12 years ago
Gabor Juhos dad19ac8b2 generic: ar8216: add lockep assertion to ar8216_rmw
SVN-Revision: 30883
12 years ago
Gabor Juhos 1ad06d4c3a generic: ar8216: coding style cleanup
SVN-Revision: 30857
13 years ago
Gabor Juhos e2d3cb69a1 generic: ar8216: don't use static variable in ar8236_hw_init
SVN-Revision: 30856
13 years ago
Gabor Juhos 291e2dd583 generic: ar8216: move register inititalization into hw_init
SVN-Revision: 30855
13 years ago
Gabor Juhos e3538fa852 generic: ar8216: set chip type directly in ar8216_id_chip
SVN-Revision: 30854
13 years ago
Gabor Juhos a6c69e63b6 generic: ar8216: simplify ar8216_config_init
SVN-Revision: 30853
13 years ago
Gabor Juhos 52a89cd95c generic: ar8216: move port initialization into a separate function
SVN-Revision: 30848
13 years ago
Gabor Juhos 0097cf7161 generic: ar8216: improve ar8216_wait_bit function
SVN-Revision: 30847
13 years ago
Gabor Juhos 2370828599 generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
SVN-Revision: 30846
13 years ago
Gabor Juhos d8a8df51ca generic: ar8216: use the generic get_port_link implementation
SVN-Revision: 30845
13 years ago
Gabor Juhos fc9db6f410 generic: ar8216: use mdiobus_write in ar8236_hw_init
SVN-Revision: 30838
13 years ago
Gabor Juhos 7112130105 generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}
SVN-Revision: 30837
13 years ago
Gabor Juhos a31e090255 generic: ar8216: fix phy driver name
SVN-Revision: 30836
13 years ago
Felix Fietkau e87bb77966 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
SVN-Revision: 29719
13 years ago
Felix Fietkau c33e016fa5 ar8216: do not strip vlan tags when running with vlan_enable=0
SVN-Revision: 29718
13 years ago
Gabor Juhos bbfaaeffd6 kernel: ar8216: add support for the AR8236 switch
SVN-Revision: 28993
13 years ago
Gabor Juhos ecb3690d0a kernel: ar8216: move port vlan setup into a separate function
SVN-Revision: 28992
13 years ago
Jonas Gorski b7a2a74823 ar8216: use mdiobus_{read,write} to ensure proper locking
SVN-Revision: 28421
13 years ago
Gabor Juhos bb64fb2e58 generic: ar8216: add support for get link status
SVN-Revision: 27989
13 years ago
Felix Fietkau eb270c4d33 ar8316: automatically detect whether port4 is used as PHY or as a switch port
SVN-Revision: 26778
13 years ago
Felix Fietkau 2336d4b438 ar8216: support AR8316 rev 0 devices
SVN-Revision: 26776
13 years ago
Jo-Philipp Wich 352fea83d9 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.
SVN-Revision: 23419
14 years ago
Felix Fietkau bd6324190f 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
SVN-Revision: 22476
14 years ago
Felix Fietkau da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
14 years ago