aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire/sbp_targ.c
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2007-03-16 05:39:33 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2007-03-16 05:39:33 +0000
commit801167a86954298b173fed5c22afae4c38726324 (patch)
tree25a640683f5e2c73ee8e3a1eb2d476fce463ad15 /sys/dev/firewire/sbp_targ.c
parentf7cb7d5dd0de93aa3b3b247c1fb047539c77c53a (diff)
downloadsrc-801167a86954298b173fed5c22afae4c38726324.tar.gz
src-801167a86954298b173fed5c22afae4c38726324.zip
Replace xfer->act.hand with xfer->hand.
Notes
Notes: svn path=/head/; revision=167632
Diffstat (limited to 'sys/dev/firewire/sbp_targ.c')
-rw-r--r--sys/dev/firewire/sbp_targ.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/firewire/sbp_targ.c b/sys/dev/firewire/sbp_targ.c
index 4d0566091438..eb2341238afa 100644
--- a/sys/dev/firewire/sbp_targ.c
+++ b/sys/dev/firewire/sbp_targ.c
@@ -1458,7 +1458,7 @@ sbp_targ_resp_callback(struct fw_xfer *xfer)
sc = (struct sbp_targ_softc *)xfer->sc;
fw_xfer_unload(xfer);
xfer->recv.pay_len = SBP_TARG_RECV_LEN;
- xfer->act.hand = sbp_targ_recv;
+ xfer->hand = sbp_targ_recv;
s = splfw();
STAILQ_INSERT_TAIL(&sc->fwb.xferlist, xfer, link);
splx(s);
@@ -1594,7 +1594,7 @@ done:
printf("%s: rtcode = %d\n", __func__, rtcode);
sfp = &xfer->send.hdr;
xfer->send.spd = 2; /* XXX */
- xfer->act.hand = sbp_targ_resp_callback;
+ xfer->hand = sbp_targ_resp_callback;
sfp->mode.wres.dst = fp->mode.wreqb.src;
sfp->mode.wres.tlrt = fp->mode.wreqb.tlrt;
sfp->mode.wres.tcode = FWTCODE_WRES;
@@ -1652,7 +1652,7 @@ sbp_targ_attach(device_t dev)
xfer = fw_xfer_alloc_buf(M_SBP_TARG,
/* send */ 0,
/* recv */ SBP_TARG_RECV_LEN);
- xfer->act.hand = sbp_targ_recv;
+ xfer->hand = sbp_targ_recv;
xfer->fc = sc->fd.fc;
xfer->sc = (caddr_t)sc;
STAILQ_INSERT_TAIL(&sc->fwb.xferlist, xfer, link);