summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-04-04 08:09:23 +0000
committerderaadt <deraadt@openbsd.org>1998-04-04 08:09:23 +0000
commitaaadf0a7c8bc18dcbdf44c2b221add1e61d63102 (patch)
tree1bea36a62a7f59f5dcf82394daca31376f0a0d8a
parentUpdate alpha based on i386 changes and fix some i386 booboos. (diff)
downloadwireguard-openbsd-aaadf0a7c8bc18dcbdf44c2b221add1e61d63102.tar.xz
wireguard-openbsd-aaadf0a7c8bc18dcbdf44c2b221add1e61d63102.zip
ignore EEPROM_TST_MODE mode on pci cards too
-rw-r--r--sys/dev/ic/elink3.c5
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);