summaryrefslogtreecommitdiff
path: root/sys/dev/pci
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/pci
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/pci')
-rw-r--r--sys/dev/pci/if_xl_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_xl_pci.c b/sys/dev/pci/if_xl_pci.c
index 8c9cec8817f..037be8c2ece 100644
--- a/sys/dev/pci/if_xl_pci.c
+++ b/sys/dev/pci/if_xl_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xl_pci.c,v 1.11 2002/03/14 01:26:59 millert Exp $ */
+/* $OpenBSD: if_xl_pci.c,v 1.12 2002/06/15 05:14:41 aaron Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -151,6 +151,7 @@ xl_pci_attach(parent, self, aux)
bus_size_t iosize;
u_int32_t command;
+ sc->sc_dmat = pa->pa_dmat;
sc->xl_unit = sc->sc_dev.dv_unit;
sc->xl_flags = 0;