From 161dda7121780a400725554caa2337da1b509a57 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Sat, 15 Jun 2002 05:14:42 +0000 Subject: bus_dma'ify. Tested on 3c900(pci), 3c905b(pci), and 3c575c(cardbus). Thanks to todd@ and camiel@ for trying it, too. --- sys/dev/pci/if_xl_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci') 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; -- cgit v1.2.3