From 25a5b37c8ca31dbc4273494b9193ede080e238d1 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Mon, 21 Dec 1998 06:22:59 +0000 Subject: If no mii found on a card that claims to support one, don't attach the interface. --- sys/dev/pci/if_xl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/pci/if_xl.c b/sys/dev/pci/if_xl.c index 65326971de8..aeba63f3917 100644 --- a/sys/dev/pci/if_xl.c +++ b/sys/dev/pci/if_xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xl.c,v 1.15 1998/11/23 19:56:50 jason Exp $ */ +/* $OpenBSD: if_xl.c,v 1.16 1998/12/21 06:22:58 jason Exp $ */ /* * Copyright (c) 1997, 1998 @@ -3225,6 +3225,7 @@ xl_attach(parent, self, aux) else { printf("%s: MII without any phy!\n", sc->sc_dev.dv_xname); + return; } } -- cgit v1.2.3