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/amr/amr_cam.c | |
parent | 6eb9bbf3299f31b6cbda15bb91fc20ed7c808e35 (diff) | |
download | src-b50569b71dfb110a58aa3e83f629115291802a74.tar.gz src-b50569b71dfb110a58aa3e83f629115291802a74.zip |
Prepare for future integration between CAM and newbus. xpt_bus_register
now takes a device_t to be the parent of the bus that is being created.
Most SIMs have been updated with a reasonable argument, but a few exceptions
just pass NULL for now. This argument isn't used yet and the newbus
integration likely won't be ready until after 7.0-RELEASE.
Notes
Notes:
svn path=/head/; revision=170872
Diffstat (limited to 'sys/dev/amr/amr_cam.c')
-rw-r--r-- | sys/dev/amr/amr_cam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/amr/amr_cam.c b/sys/dev/amr/amr_cam.c index 78cd4ec3d7be..56b486fcec76 100644 --- a/sys/dev/amr/amr_cam.c +++ b/sys/dev/amr/amr_cam.c @@ -158,7 +158,7 @@ amr_cam_attach(struct amr_softc *sc) } /* register the bus ID so we can get it later */ - if (xpt_bus_register(sc->amr_cam_sim[chn], chn)) { + if (xpt_bus_register(sc->amr_cam_sim[chn], sc->amr_dev, chn)) { device_printf(sc->amr_dev, "CAM XPT bus registration failed\n"); return(ENXIO); } |