summaryrefslogtreecommitdiff
path: root/sys/arch/vax/uba
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-01-20 23:27:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-01-20 23:27:27 +0000
commitb24a0490358935cd71e101bee2ac6c31b0da59b6 (patch)
treec2526951f5cceeaaf1fb2cb9df80b919fa16e3a0 /sys/arch/vax/uba
parentbb73845798cff57670d538da76e8d33d95a83c96 (diff)
b_un.b_addr -> b_data; no functional change.
Diffstat (limited to 'sys/arch/vax/uba')
-rw-r--r--sys/arch/vax/uba/uba.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/uba/uba.c b/sys/arch/vax/uba/uba.c
index 4ce9b98cc04..74f369a6ab2 100644
--- a/sys/arch/vax/uba/uba.c
+++ b/sys/arch/vax/uba/uba.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uba.c,v 1.21 2004/12/25 23:02:25 miod Exp $ */
+/* $OpenBSD: uba.c,v 1.22 2006/01/20 23:27:26 miod Exp $ */
/* $NetBSD: uba.c,v 1.43 2000/01/24 02:40:36 matt Exp $ */
/*
* Copyright (c) 1996 Jonathan Stone.
@@ -580,7 +580,7 @@ ubasetup(uh, bp, flags)
if (uh->uh_nbdp == 0)
flags &= ~UBA_NEEDBDP;
- o = (int)bp->b_un.b_addr & VAX_PGOFSET;
+ o = (int)bp->b_data & VAX_PGOFSET;
npf = vax_btoc(bp->b_bcount + o) + 1;
if (npf > UBA_MAXNMR)
panic("uba xfer too big");
@@ -644,7 +644,7 @@ uballoc(uh, addr, bcnt, flags)
{
struct buf ubabuf;
- ubabuf.b_un.b_addr = addr;
+ ubabuf.b_data = addr;
ubabuf.b_flags = B_BUSY;
ubabuf.b_bcount = bcnt;
/* that's all the fields ubasetup() needs */