Correct a logic bug in the previous change.

This commit is contained in:
marius 2007-01-21 19:28:00 +00:00
parent 1542e0642c
commit 32ccb0b969

View File

@ -107,7 +107,7 @@ rlphy_probe(device_t dev)
return (rv);
nic = device_get_name(device_get_parent(device_get_parent(dev)));
if (strcmp(nic, "rl") == 0 && strcmp(nic, "re") == 0)
if (strcmp(nic, "rl") == 0 || strcmp(nic, "re") == 0)
return (mii_phy_dev_probe(dev, rlintphys, BUS_PROBE_DEFAULT));
return (ENXIO);
}