Turn off interrupts in pcn_stop().

This commit is contained in:
Matthew N. Dodd 2003-02-07 13:13:34 +00:00
parent c524738eae
commit 0642caee99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110495

View File

@ -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;