diff options
author | marius <marius@FreeBSD.org> | 2007-01-21 19:28:00 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2007-01-21 19:28:00 +0000 |
commit | 32ccb0b9691d9721a82fc29bc9002a655b8622b6 (patch) | |
tree | 47d6d4c09dfc327c5f5a6e61adbedfc47cea47de /sys | |
parent | 1542e0642c094569dc9068eea353647d6f7eec2c (diff) | |
download | FreeBSD-src-32ccb0b9691d9721a82fc29bc9002a655b8622b6.zip FreeBSD-src-32ccb0b9691d9721a82fc29bc9002a655b8622b6.tar.gz |
Correct a logic bug in the previous change.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mii/rlphy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c index 243b608..07acaa9 100644 --- a/sys/dev/mii/rlphy.c +++ b/sys/dev/mii/rlphy.c @@ -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); } |