diff options
author | simokawa <simokawa@FreeBSD.org> | 2003-04-22 02:31:31 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2003-04-22 02:31:31 +0000 |
commit | bedf79949fdd1f8a67cff6c5c9356a743ab229f5 (patch) | |
tree | 41db342b93338fa6fdc7c27329c2decfab4ceb76 /sys/dev/firewire | |
parent | bbf5306d5f9c1d8bdeb772e78f14c2b586537ca6 (diff) | |
download | FreeBSD-src-bedf79949fdd1f8a67cff6c5c9356a743ab229f5.zip FreeBSD-src-bedf79949fdd1f8a67cff6c5c9356a743ab229f5.tar.gz |
Set the local bus address in xfer->dst.
Submitted by: Buzz Slye <buzz@gaia.arc.nasa.gov>
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r-- | sys/dev/firewire/fwdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index 9e4673e..02b927e 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -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? */ |