diff options
author | phk <phk@FreeBSD.org> | 2005-01-06 23:18:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-01-06 23:18:44 +0000 |
commit | 4f119dfb62dba4a1b860552581c6b2fa04121b99 (patch) | |
tree | 53b3de583b75ce458742ac1d6d02a65903f98f1f /sys/pci/if_sis.c | |
parent | 962238ddac8a4ea021a17ba0987a1aeac36ceb2d (diff) | |
download | FreeBSD-src-4f119dfb62dba4a1b860552581c6b2fa04121b99.zip FreeBSD-src-4f119dfb62dba4a1b860552581c6b2fa04121b99.tar.gz |
Make sure to clear any pending interrupts when we stop the interface.
Diffstat (limited to 'sys/pci/if_sis.c')
-rw-r--r-- | sys/pci/if_sis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index e257db3..e30647a 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -2282,6 +2282,7 @@ sis_stop(struct sis_softc *sc) #endif CSR_WRITE_4(sc, SIS_IER, 0); CSR_WRITE_4(sc, SIS_IMR, 0); + CSR_READ_4(sc, SIS_ISR); /* clear any interrupts already pending */ SIS_SETBIT(sc, SIS_CSR, SIS_CSR_TX_DISABLE|SIS_CSR_RX_DISABLE); DELAY(1000); CSR_WRITE_4(sc, SIS_TX_LISTPTR, 0); |