diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2017-02-11 04:12:29 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2017-02-11 04:12:29 +0000 |
commit | 6b864a23943ea13a22f1228490319f14bca0fb54 (patch) | |
tree | 0c83a8efb3ad0417693e4822beb312bf91d71f8a /sys | |
parent | 91d0b7c76209cc11d0b386f7e880392140b6a06d (diff) |
disable aen handling.
on some or all original mfii boards (2208) the aen path fires repeatedly
without reporting anything, causes enough load to start actual io.
found by naddy@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/mfii.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/mfii.c b/sys/dev/pci/mfii.c index d17c7d40611..38dffe7f9df 100644 --- a/sys/dev/pci/mfii.c +++ b/sys/dev/pci/mfii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfii.c,v 1.41 2017/02/08 07:06:43 dlg Exp $ */ +/* $OpenBSD: mfii.c,v 1.42 2017/02/11 04:12:28 dlg Exp $ */ /* * Copyright (c) 2012 David Gwynne <dlg@openbsd.org> @@ -598,18 +598,22 @@ mfii_attach(struct device *parent, struct device *self, void *aux) mfii_syspd(sc); +#ifdef notyet if (mfii_aen_register(sc) != 0) { /* error printed by mfii_aen_register */ goto intr_disestablish; } +#endif /* enable interrupts */ mfii_write(sc, MFI_OSTS, 0xffffffff); mfii_write(sc, MFI_OMSK, ~MFII_OSTS_INTR_VALID); return; +#ifdef notyet intr_disestablish: pci_intr_disestablish(sc->sc_pc, sc->sc_ih); +#endif free_sgl: mfii_dmamem_free(sc, sc->sc_sgl); free_requests: |