openwrtv4/target/linux/generic
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>
2016-10-15 11:36:50 +02:00
..
base-files update the /init file to start /sbin/init 2013-03-13 18:11:13 +00:00
files generic: ar8216: improve ar8xxx_is_possible check 2016-10-15 11:36:50 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
patches-3.18 kernel: backport upstream challenge ACK fix (CVE-2016-5696) 2016-08-13 16:23:23 +02:00
patches-4.1 kernel: backport usbport LED trigger from 4.9 2016-10-04 12:08:25 +02:00
patches-4.4 kernel: backport usbport LED trigger from 4.9 2016-10-04 12:08:25 +02:00
config-3.18 kernel: add missing symbols for Linux 3.18 (like d2f4479870) 2016-10-04 17:07:59 +02:00
config-4.1 kernel: add missing symbols for Linux 4.1 2016-10-04 16:00:01 +02:00
config-4.4 kernel: add missing config symbol (partial forward port of d2f4479870) 2016-10-04 17:54:35 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00