summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/mii/rlphy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c
index d3f6cc1412b..846281b8ba3 100644
--- a/sys/dev/mii/rlphy.c
+++ b/sys/dev/mii/rlphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rlphy.c,v 1.18 2005/05/27 08:04:15 brad Exp $ */
+/* $OpenBSD: rlphy.c,v 1.19 2005/07/30 08:00:44 brad Exp $ */
/*
* Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net)
@@ -84,7 +84,8 @@ rlphymatch(struct device *parent, void *match, void *aux)
MII_MODEL(ma->mii_id2) != 0)
return (0);
- if (strcmp(parent->dv_cfdata->cf_driver->cd_name, "rl") != 0)
+ if (strcmp(parent->dv_cfdata->cf_driver->cd_name, "rl") != 0 &&
+ strcmp(parent->dv_cfdata->cf_driver->cd_name, "re") != 0)
return (0);
/*