summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sbus/be.c6
-rw-r--r--sys/dev/sbus/qe.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/sbus/be.c b/sys/dev/sbus/be.c
index 837c2aae849..3c0b62d6e23 100644
--- a/sys/dev/sbus/be.c
+++ b/sys/dev/sbus/be.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: be.c,v 1.2 2001/08/31 15:12:05 jason Exp $ */
+/* $OpenBSD: be.c,v 1.3 2001/09/12 19:48:11 jason Exp $ */
/* $NetBSD: be.c,v 1.26 2001/03/20 15:39:20 pk Exp $ */
/*-
@@ -242,6 +242,10 @@ beattach(parent, self, aux)
u_int32_t v;
extern void myetheraddr __P((u_char *));
+ /* Pass on the bus tags */
+ sc->sc_bustag = sa->sa_bustag;
+ sc->sc_dmatag = sa->sa_dmatag;
+
if (sa->sa_nreg < 3) {
printf("%s: only %d register sets\n",
self->dv_xname, sa->sa_nreg);
diff --git a/sys/dev/sbus/qe.c b/sys/dev/sbus/qe.c
index e65d5a84c5a..4417107ac8c 100644
--- a/sys/dev/sbus/qe.c
+++ b/sys/dev/sbus/qe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qe.c,v 1.2 2001/08/31 15:12:05 jason Exp $ */
+/* $OpenBSD: qe.c,v 1.3 2001/09/12 19:48:11 jason Exp $ */
/* $NetBSD: qe.c,v 1.16 2001/03/30 17:30:18 christos Exp $ */
/*-
@@ -211,6 +211,10 @@ qeattach(parent, self, aux)
int rseg, error;
extern void myetheraddr __P((u_char *));
+ /* Pass on the bus tags */
+ sc->sc_bustag = sa->sa_bustag;
+ sc->sc_dmatag = sa->sa_dmatag;
+
if (sa->sa_nreg < 2) {
printf("%s: only %d register sets\n",
self->dv_xname, sa->sa_nreg);