]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: QT202x: Reset before reading PHY id
authorSteve Hodgson <shodgson@solarflare.com>
Sat, 28 Nov 2009 05:34:29 +0000 (05:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Nov 2009 07:58:50 +0000 (23:58 -0800)
commite91b118480b18992521fcdd3b0446df72c08e6c8
tree0148d3543cb4745f8119c4ccc056f39dc5f3e5de
parent8f06a8630f54389cb64e261b1adb703137d2df0d
sfc: QT202x: Reset before reading PHY id

Reading standard registers on the QT2025C before its firmware has
booted may cause the boot process to fail.  Therefore, follow the
recommended reset sequence before reading its id registers.  Either
order works for the QT2022C2, so don't differentiate.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/qt202x_phy.c