Set the local bus address in xfer->dst.

Submitted by: Buzz Slye <buzz@gaia.arc.nasa.gov>
This commit is contained in:
Hidetoshi Shimokawa 2003-04-22 02:31:31 +00:00
parent 148eac48f1
commit 85b2d114c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113832

View file

@ -522,8 +522,8 @@ fw_ioctl (dev_t dev, u_long cmd, caddr_t data, int flag, fw_proc *td)
err = EINVAL;
goto error;
}
xfer->dst = fwdev->dst;
fp->mode.hdr.dst = FWLOCALBUS | xfer->dst;
xfer->dst = FWLOCALBUS | fwdev->dst;
fp->mode.hdr.dst = xfer->dst;
break;
case FWASRESTL:
/* XXX what's this? */