diff options
-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); } |