This fixes EISA bus_space API. The bus dma tag was never initialized!!!
authorsmurph <smurph@openbsd.org>
Fri, 14 Apr 2000 03:29:01 +0000 (03:29 +0000)
committersmurph <smurph@openbsd.org>
Fri, 14 Apr 2000 03:29:01 +0000 (03:29 +0000)
sys/dev/eisa/eisa.c

index 6993144..6370068 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: eisa.c,v 1.6 1996/11/28 23:27:38 niklas Exp $ */
+/*     $OpenBSD: eisa.c,v 1.7 2000/04/14 03:29:01 smurph Exp $ */
 /*     $NetBSD: eisa.c,v 1.15 1996/10/21 22:31:01 thorpej Exp $        */
 
 /*
@@ -140,6 +140,7 @@ eisaattach(parent, self, aux)
                bus_space_handle_t slotioh;
                int i;
 
+               ea.ea_dmat = eba->eba_dmat;
                ea.ea_iot = iot;
                ea.ea_memt = memt;
                ea.ea_ec = ec;