summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/lebuffer.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-03-05 21:53:08 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-03-05 21:53:08 +0000
commit0d1550b2c4c915d0262da49df4e07eed2165e109 (patch)
treecac1dea2986b2eb54de1ea94a21311b1772575c7 /sys/dev/sbus/lebuffer.c
parent9a383c0b2b480908b7e9e8df52d096f6a77c5047 (diff)
make sure asi and sasi are set in the bustag. Fixes the le@lebuffer problem
reported by Tyler Hardison.
Diffstat (limited to 'sys/dev/sbus/lebuffer.c')
-rw-r--r--sys/dev/sbus/lebuffer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sbus/lebuffer.c b/sys/dev/sbus/lebuffer.c
index 6a8618914b5..7c37b127ddc 100644
--- a/sys/dev/sbus/lebuffer.c
+++ b/sys/dev/sbus/lebuffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lebuffer.c,v 1.3 2003/02/17 01:29:21 henric Exp $ */
+/* $OpenBSD: lebuffer.c,v 1.4 2003/03/05 21:53:07 jason Exp $ */
/* $NetBSD: lebuffer.c,v 1.12 2002/03/11 16:00:57 pk Exp $ */
/*-
@@ -151,6 +151,8 @@ lebufattach(parent, self, aux)
sbt->cookie = sc;
sbt->parent = sc->sc_bustag;
+ sbt->asi = sbt->parent->asi;
+ sbt->sasi = sbt->parent->sasi;
/* search through children */
for (node = firstchild(node); node; node = nextsibling(node)) {