You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christian Lamparter e9455c561d generic: ar8216: improve ar8xxx_is_possible check
The commit "generic: ar8216: add sanity check to ar8216_probe"
(774da6c7a4) stated that PHY IDs
should be checked at address 0-4. However, the PHY 4 was
never check by the loop. This patch extends the check to be
similar to the Atheors SDK. It tries all 4 ports and skips
unconnected PHYs if necessary. If it cannot find any familiar
PHYs, it will prevent the phy driver from initializing.

This patch is necessary for the C-60. It doesn't have a
PHY at port 3, so this caused the check in ar8xxx_is_possible
to fail. As a result, the ethernet ports on the C-60 didn't
work.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
8 years ago
..
b53 kernel: b53: force BCM531x5 port 5 link state if enabled 8 years ago
adm6996.c kernel: adm6996: set carrier status 8 years ago
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
ar8216.c generic: ar8216: improve ar8xxx_is_possible check 8 years ago
ar8216.h treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
ar8327.c treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
ar8327.h treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
ip17xx.c treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
mvsw61xx.c mvsw61xx: enable SerDes on 6176 if required 8 years ago
mvsw61xx.h mvsw61xx: enable SerDes on 6176 if required 8 years ago
mvswitch.c treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
mvswitch.h treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
psb6970.c 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. 14 years ago
rtl8306.c treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
rtl8366_smi.c strict_strtoul is obsolete, use kstrtoul instead 11 years ago
rtl8366_smi.h linux: generic: rtl836*: fix compilation with !CONFIG_OF 12 years ago
rtl8366rb.c generic: add port mirroring/monitoring capability to rtl8366rb switch 11 years ago
rtl8366s.c fix rtl8366s OF binding 11 years ago
rtl8367.c rtl8367: add support for configuring the VLAN FID 11 years ago
rtl8367b.c generic: rtl8367: add compatible string with vendor prefix 11 years ago
swconfig.c swconfig: revert the portmapping patches, they seem to cause a segfault 8 years ago
swconfig_leds.c switch: allow Ethernet port LEDs to show specific port speeds only 8 years ago