summaryrefslogtreecommitdiff
path: root/sys/dev/mly
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2007-06-17 05:55:54 +0000
committerScott Long <scottl@FreeBSD.org>2007-06-17 05:55:54 +0000
commitb50569b71dfb110a58aa3e83f629115291802a74 (patch)
tree1f069a0af9a8c28e09089c8dc789bcd435a94cce /sys/dev/mly
parent6eb9bbf3299f31b6cbda15bb91fc20ed7c808e35 (diff)
Notes
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index f9ca34b2b5ba..d9e78bd7c563 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -1950,7 +1950,7 @@ mly_cam_attach(struct mly_softc *sc)
1, devq)) == NULL) {
return(ENOMEM);
}
- if (xpt_bus_register(sc->mly_cam_sim[chn], chn)) {
+ if (xpt_bus_register(sc->mly_cam_sim[chn], sc->mly_dev, chn)) {
mly_printf(sc, "CAM XPT phsyical channel registration failed\n");
return(ENXIO);
}
@@ -1970,7 +1970,7 @@ mly_cam_attach(struct mly_softc *sc)
0, devq)) == NULL) {
return(ENOMEM);
}
- if (xpt_bus_register(sc->mly_cam_sim[chn], chn)) {
+ if (xpt_bus_register(sc->mly_cam_sim[chn], sc->mly_dev, chn)) {
mly_printf(sc, "CAM XPT virtual channel registration failed\n");
return(ENXIO);
}