summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2002-06-15 05:14:42 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2002-06-15 05:14:42 +0000
commit161dda7121780a400725554caa2337da1b509a57 (patch)
treebb5a251bcbf770e4db0621e26549a3eeb5cf57d4 /sys/dev/cardbus
parentda4d6bb61b7ed983a5486e0bb32f982c1cce5392 (diff)
bus_dma'ify. Tested on 3c900(pci), 3c905b(pci), and 3c575c(cardbus). Thanks
to todd@ and camiel@ for trying it, too.
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/if_xl_cardbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/cardbus/if_xl_cardbus.c b/sys/dev/cardbus/if_xl_cardbus.c
index 69958cc744f..32da1f2c93b 100644
--- a/sys/dev/cardbus/if_xl_cardbus.c
+++ b/sys/dev/cardbus/if_xl_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xl_cardbus.c,v 1.10 2002/03/14 01:26:53 millert Exp $ */
+/* $OpenBSD: if_xl_cardbus.c,v 1.11 2002/06/15 05:14:41 aaron Exp $ */
/* $NetBSD: if_xl_cardbus.c,v 1.13 2000/03/07 00:32:52 mycroft Exp $ */
/*
@@ -236,6 +236,7 @@ xl_cardbus_attach(parent, self, aux)
printf(": 3Com %s", ecp->ecp_name);
sc->xl_flags = ecp->ecp_flags;
+ sc->sc_dmat = ca->ca_dmat;
iob = adr;
sc->xl_bhandle = ioh;