* Fix for a "error values are positive" assumption in the RTL-8139 driver.
This should enable internal MII PHY detection again, thanks to Siarzhuk for finding this! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27702 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2d4df7f2fc
commit
08facac73e
|
@ -109,7 +109,7 @@ rlphy_probe(device_t dev)
|
|||
int rv;
|
||||
|
||||
rv = mii_phy_dev_probe(dev, rlphys, BUS_PROBE_DEFAULT);
|
||||
if (rv <= 0)
|
||||
if (rv == BUS_PROBE_DEFAULT)
|
||||
return (rv);
|
||||
|
||||
nic = device_get_name(device_get_parent(device_get_parent(dev)));
|
||||
|
|
Loading…
Reference in New Issue