From 9f113abe9640e7c2e2acbd2fccf6d5dabf85de83 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 6 Jun 2001 18:56:25 +0000 Subject: We now disable interrupts in the bus-specific attach routine. --- sys/dev/ic/if_wi.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'sys/dev/ic/if_wi.c') 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. */ -- cgit v1.2.3