diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-06-06 18:56:25 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-06-06 18:56:25 +0000 |
commit | 9f113abe9640e7c2e2acbd2fccf6d5dabf85de83 (patch) | |
tree | f44842a87d6e12315e31ab08952aa56c3c5cd22f /sys/dev | |
parent | b18d22af035bece8eb6595edd570202bb88de91a (diff) |
We now disable interrupts in the bus-specific attach routine.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/if_wi.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c index 5f71bda0099..2684186c23c 100644 --- a/sys/dev/ic/if_wi.c +++ b/sys/dev/ic/if_wi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi.c,v 1.1 2001/05/15 02:40:35 millert Exp $ */ +/* $OpenBSD: if_wi.c,v 1.2 2001/06/06 18:56:24 millert Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -120,7 +120,7 @@ u_int32_t widebug = WIDEBUG; #if !defined(lint) && !defined(__OpenBSD__) static const char rcsid[] = - "$OpenBSD: if_wi.c,v 1.1 2001/05/15 02:40:35 millert Exp $"; + "$OpenBSD: if_wi.c,v 1.2 2001/06/06 18:56:24 millert Exp $"; #endif /* lint */ #ifdef foo @@ -170,10 +170,6 @@ wi_attach(sc) sc->wi_gone = 0; - /* Make sure interrupts are disabled. */ - CSR_WRITE_2(sc, WI_INT_EN, 0); - CSR_WRITE_2(sc, WI_EVENT_ACK, 0xffff); - wi_reset(sc); /* Read the station address. */ |