diff options
author | 1998-04-04 08:09:23 +0000 | |
---|---|---|
committer | 1998-04-04 08:09:23 +0000 | |
commit | aaadf0a7c8bc18dcbdf44c2b221add1e61d63102 (patch) | |
tree | 1bea36a62a7f59f5dcf82394daca31376f0a0d8a | |
parent | Update alpha based on i386 changes and fix some i386 booboos. (diff) | |
download | wireguard-openbsd-aaadf0a7c8bc18dcbdf44c2b221add1e61d63102.tar.xz wireguard-openbsd-aaadf0a7c8bc18dcbdf44c2b221add1e61d63102.zip |
ignore EEPROM_TST_MODE mode on pci cards too
-rw-r--r-- | sys/dev/ic/elink3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index 81d2a2f75c0..d3677641573 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elink3.c,v 1.23 1998/02/25 23:56:51 deraadt Exp $ */ +/* $OpenBSD: elink3.c,v 1.24 1998/04/04 08:09:23 deraadt Exp $ */ /* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */ /* @@ -1478,7 +1478,8 @@ epbusyeeprom(sc) sc->sc_dev.dv_xname); return (1); } - if (sc->bustype != EP_BUS_PCMCIA && (j & EEPROM_TST_MODE)) { + if (sc->bustype != EP_BUS_PCMCIA && sc->bustype != EP_BUS_PCI && + (j & EEPROM_TST_MODE)) { printf("\n%s: erase pencil mark, or disable PnP mode!\n", sc->sc_dev.dv_xname); return (1); |