diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-30 21:44:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-30 21:44:08 +0000 |
commit | e0ff564cec2ec6e50eb04f65e3e845efe8feccc8 (patch) | |
tree | 925fe003d3a9bf026195bfdfb593be99a62b3331 | |
parent | 3f4679c21941625455f365e35abbbe181eb6c2b1 (diff) |
Do not reset the board, for it will not keep the interrupt configuration the
BIOS configured it in; from NetBSD via Andrew Daugherity.
-rw-r--r-- | sys/dev/eisa/if_ep_eisa.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/eisa/if_ep_eisa.c b/sys/dev/eisa/if_ep_eisa.c index 0a985814b3f..55315b13c8e 100644 --- a/sys/dev/eisa/if_ep_eisa.c +++ b/sys/dev/eisa/if_ep_eisa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ep_eisa.c,v 1.20 2005/11/21 18:16:39 millert Exp $ */ +/* $OpenBSD: if_ep_eisa.c,v 1.21 2006/05/30 21:44:07 miod Exp $ */ /* $NetBSD: if_ep_eisa.c,v 1.13 1997/04/18 00:50:33 cgd Exp $ */ /* @@ -138,12 +138,8 @@ ep_eisa_attach(parent, self, aux) sc->sc_ioh = ioh; sc->sc_iot = iot; - /* Reset card. */ - bus_space_write_1(iot, ioh, EISA_CONTROL, EISA_ENABLE | EISA_RESET); - delay(4000); bus_space_write_1(iot, ioh, EISA_CONTROL, EISA_ENABLE); - /* Wait for reset? */ - delay(1000); + delay(4000); /* XXX What is this doing?! Reading the i/o address? */ k = bus_space_read_2(iot, ioh, EP_W0_ADDRESS_CFG); |