openwrtv4/target/linux/generic/files/drivers
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
..
leds kernel: remove unused morse led trigger driver 2016-08-04 20:53:02 +02:00
misc kernel: owl-loader for delayed Atheros ath9k fixup 2016-09-19 19:32:35 +02:00
mtd kernel: mtdsplit_uimage: fix Edimax parser 2016-10-15 09:01:45 +02:00
net/phy generic: ar8216: improve ar8xxx_is_possible check 2016-10-15 11:36:50 +02:00