diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-02-07 13:13:34 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-02-07 13:13:34 +0000 |
commit | c9e0f8e12aec8ba9a2568e99cca7f0ab8517eca6 (patch) | |
tree | 224f99368e5e9d890dcb32ee1f85316cd94ec59e /sys/pci | |
parent | 84c1059a0c6ab07ab66fcad354ab52c06d52fdf5 (diff) | |
download | FreeBSD-src-c9e0f8e12aec8ba9a2568e99cca7f0ab8517eca6.zip FreeBSD-src-c9e0f8e12aec8ba9a2568e99cca7f0ab8517eca6.tar.gz |
Turn off interrupts in pcn_stop().
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_pcn.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |