diff options
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; |