diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2000-08-27 23:38:44 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2000-08-27 23:38:44 +0000 |
| commit | b6b6ad2f237259c8ef225a01a656caee7ca2f60b (patch) | |
| tree | 2408272da3a6772b62762f956d64d02647e355b1 /sys/dev/isp/isp_target.c | |
| parent | 3aa9aaf931d031d04987c886258dd3cd83d399d3 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/isp_target.c')
| -rw-r--r-- | sys/dev/isp/isp_target.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c index dced16c084f55..b7c4632712dbd 100644 --- a/sys/dev/isp/isp_target.c +++ b/sys/dev/isp/isp_target.c @@ -525,11 +525,9 @@ isp_target_async(isp, bus, event) */ MEMZERO(&msg, sizeof msg); if (IS_FC(isp)) { - msg.nt_iid = - ((fcparam *)isp->isp_param)->isp_loopid; + msg.nt_iid = FCPARAM(isp)->isp_loopid; } else { - msg.nt_iid = - ((sdparam *)isp->isp_param)->isp_initiator_id; + msg.nt_iid = SDPARAM(isp)->isp_initiator_id; } msg.nt_bus = bus; msg.nt_msg[0] = MSG_BUS_DEV_RESET; |
