summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-03-06 22:31:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-03-06 22:31:24 +0000
commit1e7b5aa559ece45586cc7360ac3a7c84c61a13b9 (patch)
tree57cc26764e29829795791d417bd605b81387823e /sys/dev/pci
parent0e2adb3170759081e98d14c803364105ba154cbc (diff)
this is a fix for kernel panics and craches along w/ other stability
improvements worked out over past few months w/ different people. the main bug was fixes w/ help of harding@motd.ca . 10x to all and enjoy the better driver (;
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/cac_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/cac_pci.c b/sys/dev/pci/cac_pci.c
index 385a27cf174..fb4ab548702 100644
--- a/sys/dev/pci/cac_pci.c
+++ b/sys/dev/pci/cac_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cac_pci.c,v 1.8 2001/12/31 21:11:01 mickey Exp $ */
+/* $OpenBSD: cac_pci.c,v 1.9 2003/03/06 22:31:23 mickey Exp $ */
/* $NetBSD: cac_pci.c,v 1.10 2001/01/10 16:48:04 ad Exp $ */
/*-
@@ -270,7 +270,7 @@ cac_pci_l0_completed(struct cac_softc *sc)
bus_dmamap_sync(sc->sc_dmat, sc->sc_dmamap, 0,
sc->sc_dmamap->dm_mapsize,
- BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);
+ BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD);
return (ccb);
}