summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-11-20 16:22:16 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-11-20 16:22:16 +0000
commit48e007f93e7e03028bff59d8b0df40abe601a107 (patch)
tree1e72ab339b8500c46de4e96c63b5fd0012084c7e /sys/dev/mii
parent4e663f516f58746aae44a080172ea977ba34d338 (diff)
amphy was a bit too liberal in attaching; Gregory Steuck <greg@nest.cx>
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/amphy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/mii/amphy.c b/sys/dev/mii/amphy.c
index b986d83de8f..110bb0599b8 100644
--- a/sys/dev/mii/amphy.c
+++ b/sys/dev/mii/amphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amphy.c,v 1.1 2000/10/17 15:59:09 jason Exp $ */
+/* $OpenBSD: amphy.c,v 1.2 2000/11/20 16:22:15 jason Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -79,9 +79,9 @@ amphymatch(parent, match, aux)
struct mii_attach_args *ma = aux;
if ((MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxAMD &&
- MII_MODEL(ma->mii_id2) == MII_MODEL_xxAMD_79C873) ||
- (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxDAVICOM ||
- MII_MODEL(ma->mii_id2) == MII_MODEL_xxDAVICOM_DM9101))
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxAMD_79C873) ||
+ (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxDAVICOM &&
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxDAVICOM_DM9101))
return(10);
return(0);