summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-04-25 11:01:10 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-04-25 11:01:10 +0000
commit957e5b5eecd3380646b20cfcfc9abf818156f676 (patch)
treeedeb4d31160bc4d82d3436e6bb5e667ddf4fa1df
parent263b7e4e43ad7a6b9d4bcf5202accf64624a5fa2 (diff)
we only have to mask interrupts once when we bring the interface down
-rw-r--r--sys/dev/pci/if_tht.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c
index 94e1f700653..6774597a701 100644
--- a/sys/dev/pci/if_tht.c
+++ b/sys/dev/pci/if_tht.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tht.c,v 1.73 2007/04/25 10:29:36 dlg Exp $ */
+/* $OpenBSD: if_tht.c,v 1.74 2007/04/25 11:01:09 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -999,9 +999,6 @@ tht_down(struct tht_softc *sc)
tht_pkt_free(sc, &sc->sc_rx_list);
tht_pkt_free(sc, &sc->sc_tx_list);
-
- sc->sc_imr = THT_IMR_DOWN(sc->sc_port);
- tht_write(sc, THT_REG_IMR, sc->sc_imr);
}
void