diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2002-06-15 05:14:42 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2002-06-15 05:14:42 +0000 |
commit | 161dda7121780a400725554caa2337da1b509a57 (patch) | |
tree | bb5a251bcbf770e4db0621e26549a3eeb5cf57d4 /sys/dev/pci | |
parent | da4d6bb61b7ed983a5486e0bb32f982c1cce5392 (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.c | 3 |
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; |