diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2006-05-17 19:54:11 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2006-05-17 19:54:11 +0000 |
commit | a9072accd225f1bc2386d5ee39893d0976b0f085 (patch) | |
tree | 3e254d829555dc028c5ce9dee657ef876dd8f66a /sys/dev/pci/if_iwi.c | |
parent | a403fa8a38212fca0a60d2347454789f49663629 (diff) |
sync handling of fatal firmware errors w/ wpi(4)
Diffstat (limited to 'sys/dev/pci/if_iwi.c')
-rw-r--r-- | sys/dev/pci/if_iwi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index 55c74b3a457..38948485a9d 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwi.c,v 1.67 2006/05/01 08:39:17 damien Exp $ */ +/* $OpenBSD: if_iwi.c,v 1.68 2006/05/17 19:54:10 damien Exp $ */ /*- * Copyright (c) 2004-2006 @@ -1195,9 +1195,9 @@ iwi_intr(void *arg) CSR_WRITE_4(sc, IWI_CSR_INTR, r); if (r & (IWI_INTR_FATAL_ERROR | IWI_INTR_PARITY_ERROR)) { - printf("%s: fatal error\n", sc->sc_dev.dv_xname); + printf("%s: fatal firmware error\n", sc->sc_dev.dv_xname); iwi_stop(&sc->sc_ic.ic_if, 1); - r = 0; /* don't process more interrupts */ + return 1; } if (r & IWI_INTR_FW_INITED) { |