summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwdev.c
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-01-30 05:18:35 +0000
committersimokawa <simokawa@FreeBSD.org>2003-01-30 05:18:35 +0000
commitaf62f90cdb814580a0d1a9c7fc026ca01d4cbd09 (patch)
tree86ccf37b0f48783b6dacb4389e4c418a262be8bf /sys/dev/firewire/fwdev.c
parent90073e85da043d728345cae450f077767a7703e2 (diff)
downloadFreeBSD-src-af62f90cdb814580a0d1a9c7fc026ca01d4cbd09.zip
FreeBSD-src-af62f90cdb814580a0d1a9c7fc026ca01d4cbd09.tar.gz
Restart cycle master after bus manager election.
This should fix the IR(and maybe IT) problem when the host becames the bus manager. - rename fw_noderesolve() to fw_noderesolve_eui64() and add fw_noderesolve_nodeid().
Diffstat (limited to 'sys/dev/firewire/fwdev.c')
-rw-r--r--sys/dev/firewire/fwdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c
index 8474049..0a74018 100644
--- a/sys/dev/firewire/fwdev.c
+++ b/sys/dev/firewire/fwdev.c
@@ -745,7 +745,8 @@ fw_ioctl (dev_t dev, u_long cmd, caddr_t data, int flag, fw_proc *td)
xfer->dst = ntohs(fp->mode.hdr.dst);
break;
case FWASREQEUI:
- fwdev = fw_noderesolve(sc->fc, asyreq->req.dst.eui);
+ fwdev = fw_noderesolve_eui64(sc->fc,
+ asyreq->req.dst.eui);
if (fwdev == NULL) {
device_printf(sc->fc->bdev,
"cannot find node\n");
OpenPOWER on IntegriCloud