diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-09-06 16:51:50 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-09-06 16:51:50 +0000 |
commit | ed1dd8615f8712ac45a024b57e345741d35e0bfe (patch) | |
tree | a17b021fd5510dafc1ea2ebb7967dc7f13f445d8 /sys/dev/pci | |
parent | 9b7979b8391c8305333da2948fc061e501a85719 (diff) |
disable interrupts coallescing for now.
it seems to generate way too much interrupts (as reported by vmstat -i)
and i haven't run with it long enough...
it isn't needed anyway since we do not yet support HT rates.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_iwn.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index f0c22675e81..34fb3659796 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.1 2007/09/06 16:37:03 damien Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.2 2007/09/06 16:51:49 damien Exp $ */ /*- * Copyright (c) 2007 @@ -3381,8 +3381,11 @@ iwn_hw_config(struct iwn_softc *sc) { uint32_t tmp, hw; +#ifdef notyet /* enable interrupts mitigation */ + /* XXX generates way too much interrupts (vmstat -i) !! */ IWN_WRITE(sc, IWN_INTR_MIT, 512 / 32); +#endif /* voodoo from the reference driver */ tmp = pci_conf_read(sc->sc_pct, sc->sc_pcitag, PCI_CLASS_REG); |