summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
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/cardbus
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/cardbus')
-rw-r--r--sys/dev/cardbus/if_dc_cardbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/cardbus/if_dc_cardbus.c b/sys/dev/cardbus/if_dc_cardbus.c
index 69713ada995..4b8c7119cdc 100644
--- a/sys/dev/cardbus/if_dc_cardbus.c
+++ b/sys/dev/cardbus/if_dc_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_cardbus.c,v 1.6 2001/08/22 16:38:38 aaron Exp $ */
+/* $OpenBSD: if_dc_cardbus.c,v 1.7 2001/12/06 05:42:12 jason Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
@@ -106,6 +106,7 @@ dc_cardbus_attach(parent, self, aux)
cardbusreg_t reg;
bus_addr_t addr;
+ sc->sc_dmat = ca->ca_dmat;
sc->dc_unit = sc->sc_dev.dv_unit;
csc->sc_ct = ct;
csc->sc_tag = ca->ca_tag;