summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-02-13 00:57:11 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-02-13 00:57:11 +0000
commitfecfb15989494bd49edef774550677fd8be37ee9 (patch)
tree8207078b54d5f41c7f8f1b127dad80bcd054165c
parent28d98a5e6db505ef87a85d6be6777698e3f6353e (diff)
Due to an oversight on my part I forgot to remove clearing of the
BGE_PCIDMARWCTL_MINDMA flag from the PCI DMA control register on newer bge chipsets when I put in the new PCI DMA control register settings. Thanks to Daniel Ouellet for testing with a BCM5780 and to Dimitry Andric for testing with a BCM5750.
-rw-r--r--sys/dev/pci/if_bge.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index b58b73b7309..20d7399aa2b 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.133 2006/02/13 00:44:52 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.134 2006/02/13 00:57:10 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -1251,10 +1251,7 @@ bge_chipinit(struct bge_softc *sc)
if (BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5703 ||
BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5704 ||
- BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5705 ||
- BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5750 ||
- BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5780 ||
- BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5752)
+ BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5705)
dma_rw_ctl &= ~BGE_PCIDMARWCTL_MINDMA;
pci_conf_write(pa->pa_pc, pa->pa_tag, BGE_PCI_DMA_RW_CTL, dma_rw_ctl);