diff options
| author | Scott Long <scottl@FreeBSD.org> | 2007-06-17 05:55:54 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2007-06-17 05:55:54 +0000 |
| commit | b50569b71dfb110a58aa3e83f629115291802a74 (patch) | |
| tree | 1f069a0af9a8c28e09089c8dc789bcd435a94cce /sys/dev/firewire | |
| parent | 6eb9bbf3299f31b6cbda15bb91fc20ed7c808e35 (diff) | |
Notes
Diffstat (limited to 'sys/dev/firewire')
| -rw-r--r-- | sys/dev/firewire/sbp.c | 2 | ||||
| -rw-r--r-- | sys/dev/firewire/sbp_targ.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c index f4aadb24f233..b4d89d54fcf3 100644 --- a/sys/dev/firewire/sbp.c +++ b/sys/dev/firewire/sbp.c @@ -2033,7 +2033,7 @@ END_DEBUG } SBP_LOCK(sbp); - if (xpt_bus_register(sbp->sim, /*bus*/0) != CAM_SUCCESS) + if (xpt_bus_register(sbp->sim, dev, /*bus*/0) != CAM_SUCCESS) goto fail; if (xpt_create_path(&sbp->path, xpt_periph, cam_sim_path(sbp->sim), diff --git a/sys/dev/firewire/sbp_targ.c b/sys/dev/firewire/sbp_targ.c index 3967458abb22..c5b9d2312cac 100644 --- a/sys/dev/firewire/sbp_targ.c +++ b/sys/dev/firewire/sbp_targ.c @@ -1703,7 +1703,7 @@ sbp_targ_attach(device_t dev) } SBP_LOCK(sc); - if (xpt_bus_register(sc->sim, /*bus*/0) != CAM_SUCCESS) + if (xpt_bus_register(sc->sim, dev, /*bus*/0) != CAM_SUCCESS) goto fail; if (xpt_create_path(&sc->path, /*periph*/ NULL, cam_sim_path(sc->sim), |
