* 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:
Axel Dörfler 2008-09-23 08:49:16 +00:00
parent 2d4df7f2fc
commit 08facac73e
1 changed files with 1 additions and 1 deletions

View File

@ -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)));