]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: macb: fix network configuration error when using gmac with non-Gbit PHY
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 23 Jun 2015 08:32:58 +0000 (10:32 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 26 Jun 2015 06:07:21 +0000 (08:07 +0200)
commit53293be4423faf85f9f53d0442c499a84c11a588
tree676acd341c5f8d912864f3c885dddcf92566badc
parent37f341a900d2fcc1c2910d0f6583e93783f1bdd0
net: macb: fix network configuration error when using gmac with non-Gbit PHY

If the ethernet controller is detected as GMAC, the driver silently
assumes, that the connected PHY is also 1000Mbit capable and reads the
probably non-existant MII_STAT1000 register. This may lead to falsely
assuming a 1000Mbit link.
drivers/net/macb.c