summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-12-06 05:42:13 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-12-06 05:42:13 +0000
commitfe3c31ec78e0478bce96526f149c8c18ae9a85ae (patch)
tree2963e6964f320632c8141998044e9924b9232b28 /sys/dev/pci
parent356637a543a91c28362353168555fdfe110d4bf6 (diff)
Checkpoint bus_dma work in progress:
- descriptor lists are now bus_dma allocated and manipulated (for those keeping score: 6 vtophys dead, 4 to go)
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_dc_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c
index 14412d74ab6..c916d3e3089 100644
--- a/sys/dev/pci/if_dc_pci.c
+++ b/sys/dev/pci/if_dc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_pci.c,v 1.19 2001/11/06 19:53:19 miod Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.20 2001/12/06 05:42:12 jason Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -190,6 +190,7 @@ void dc_pci_attach(parent, self, aux)
int found = 0;
s = splimp();
+ sc->sc_dmat = pa->pa_dmat;
sc->dc_unit = sc->sc_dev.dv_unit;
/*