diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-04 08:09:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-04 08:09:24 +0000 |
commit | fea4ed414ba9473b4771a8a6fc5872e0ded10910 (patch) | |
tree | afddc6d468bbcb34c5942d625ae88d05d65de8de /sys/dev | |
parent | 44602d0f9abd216bcde206d8cb02edf9f25dc7cc (diff) |
ignore EEPROM_TST_MODE mode on pci cards too
Diffstat (limited to 'sys/dev')
-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); |