From c9e0f8e12aec8ba9a2568e99cca7f0ab8517eca6 Mon Sep 17 00:00:00 2001 From: mdodd Date: Fri, 7 Feb 2003 13:13:34 +0000 Subject: Turn off interrupts in pcn_stop(). --- sys/pci/if_pcn.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/pci') diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c index e6f3dd7..48d228e 100644 --- a/sys/pci/if_pcn.c +++ b/sys/pci/if_pcn.c @@ -1400,6 +1400,10 @@ pcn_stop(sc) ifp->if_timer = 0; untimeout(pcn_tick, sc, sc->pcn_stat_ch); + + /* Turn off interrupts */ + PCN_CSR_CLRBIT(sc, PCN_CSR_CSR, PCN_CSR_INTEN); + /* Stop adapter */ PCN_CSR_SETBIT(sc, PCN_CSR_CSR, PCN_CSR_STOP); sc->pcn_link = 0; -- cgit v1.1