diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-12-21 06:22:59 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-12-21 06:22:59 +0000 |
commit | 25a5b37c8ca31dbc4273494b9193ede080e238d1 (patch) | |
tree | 883630cc451cbeb0f2c8aca2792c9a48a6927a27 /sys/dev/pci | |
parent | cf85f7cf0e08f6b4a2013b40ca5c576efff262c4 (diff) |
If no mii found on a card that claims to support one, don't attach the
interface.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_xl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |