diff options
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r-- | sys/arch/hp300/dev/ct.c | 6 | ||||
-rw-r--r-- | sys/arch/hp300/dev/hd.c | 6 | ||||
-rw-r--r-- | sys/arch/hp300/dev/mt.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/hp300/dev/ct.c b/sys/arch/hp300/dev/ct.c index d7cef2e372e..f8b42774ea3 100644 --- a/sys/arch/hp300/dev/ct.c +++ b/sys/arch/hp300/dev/ct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ct.c,v 1.15 2005/12/27 18:34:58 miod Exp $ */ +/* $OpenBSD: ct.c,v 1.16 2006/01/20 23:27:25 miod Exp $ */ /* $NetBSD: ct.c,v 1.21 1997/04/02 22:37:23 scottr Exp $ */ /* @@ -422,7 +422,7 @@ ctcommand(dev, cmd, cnt) bp->b_dev = dev; if (cmd == MTFSF) { nbp = (struct buf *)geteblk(MAXBSIZE); - bp->b_un.b_addr = nbp->b_un.b_addr; + bp->b_data = nbp->b_data; bp->b_bcount = MAXBSIZE; } @@ -478,7 +478,7 @@ ctustart(sc) struct buf *bp; bp = sc->sc_tab.b_actf; - sc->sc_addr = bp->b_un.b_addr; + sc->sc_addr = bp->b_data; sc->sc_resid = bp->b_bcount; if (hpibreq(sc->sc_dev.dv_parent, &sc->sc_hq)) ctstart(sc); diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c index 74ca2a1e0af..24a13b51616 100644 --- a/sys/arch/hp300/dev/hd.c +++ b/sys/arch/hp300/dev/hd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hd.c,v 1.37 2005/11/18 00:16:48 miod Exp $ */ +/* $OpenBSD: hd.c,v 1.38 2006/01/20 23:27:25 miod Exp $ */ /* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */ /* @@ -726,7 +726,7 @@ hdustart(rs) struct buf *bp; bp = rs->sc_tab.b_actf; - rs->sc_addr = bp->b_un.b_addr; + rs->sc_addr = bp->b_data; rs->sc_resid = bp->b_bcount; if (hpibreq(rs->sc_dev.dv_parent, &rs->sc_hq)) hdstart(rs); @@ -829,7 +829,7 @@ again: bp->b_error = EIO; bp = hdfinish(rs, bp); if (bp) { - rs->sc_addr = bp->b_un.b_addr; + rs->sc_addr = bp->b_data; rs->sc_resid = bp->b_bcount; if (hpibreq(rs->sc_dev.dv_parent, &rs->sc_hq)) goto again; diff --git a/sys/arch/hp300/dev/mt.c b/sys/arch/hp300/dev/mt.c index de75b87a6bb..1d2d00bffd1 100644 --- a/sys/arch/hp300/dev/mt.c +++ b/sys/arch/hp300/dev/mt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mt.c,v 1.16 2005/12/27 18:34:58 miod Exp $ */ +/* $OpenBSD: mt.c,v 1.17 2006/01/20 23:27:25 miod Exp $ */ /* $NetBSD: mt.c,v 1.8 1997/03/31 07:37:29 scottr Exp $ */ /* @@ -742,7 +742,7 @@ mtgo(arg) bp = sc->sc_tab.b_actf; rw = bp->b_flags & B_READ; hpibgo(sc->sc_hpibno, sc->sc_slave, rw ? MTT_READ : MTL_WRITE, - bp->b_un.b_addr, bp->b_bcount, rw, rw != 0); + bp->b_data, bp->b_bcount, rw, rw != 0); } void |