diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-07-30 08:00:45 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-07-30 08:00:45 +0000 |
commit | e632c9bd90113c2fbced853237abfe038b5beb7e (patch) | |
tree | 7621afd7d5add0e91a88ddd0b83d175c5d004862 | |
parent | 8e26f11555ff01d4232d745b2694a8bdb4d69a39 (diff) |
allow re(4) to attach too.
-rw-r--r-- | sys/dev/mii/rlphy.c | 5 |
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); /* |