phy: fix phy address bug
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Thu, 13 Nov 2008 21:53:13 +0000 (21:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2008 09:49:41 +0000 (01:49 -0800)
commit3ee82383f0098a2e13acc8cf1be8e47512f41e5a
treeed87a022c71e68543a73a3e6840a63e8cf015513
parent773c9c1f77174429ad2feb1735a3beb33ff3b6c0
phy: fix phy address bug

PHYID returns 0xffff and not 0xffffffff when not found and in some
case(at91sam9263) 0x0. Maybe this patch could be useful.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c