]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
axnet_cs: fix phy_id detection for bogus Asix chip.
authorKen Kawasaki <ken_kawasaki@spring.nifty.jp>
Sat, 4 Apr 2009 14:49:07 +0000 (14:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2009 00:07:54 +0000 (17:07 -0700)
commitad3620a072bc1ba93b0146f6f5467ae928b449a6
tree4fcde271fe0a8c55d31ca2eacff822bfd88c3e7c
parent57579f7629a3d46c307405fbd2ea6bdb650d692f
axnet_cs: fix phy_id detection for bogus Asix chip.

axnet_cs:

(1) Some Asix phy return bogus value except 0 or 0xffff.
    Skip this phy_id.

(2) Some Asix chip need to set "select Internal PHY" bit
    at AX88190_init.

Signed-off-by: Ken Kawasaki <ken_kawasaki@spring.nifty.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcmcia/axnet_cs.c