aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>2007-02-21 07:46:40 +0000
committerNick Hibma <n_hibma@FreeBSD.org>2007-02-21 07:46:40 +0000
commit814ee007c306a6e01977a3957e2bca7d14cd63ae (patch)
tree34b7d21ab3c97e7402cf8e064da9232311d19986 /sys
parent55fe33a3507c5ee29e723d184e51285d11c60335 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/umass.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index dc036e6c17a5..f12411eab361 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -2570,6 +2570,10 @@ umass_cam_action(struct cam_sim *sim, union ccb *ccb)
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
cpi->unit_number = cam_sim_unit(sim);
cpi->bus_id = device_get_unit(sc->sc_dev);
+ cpi->protocol = PROTO_SCSI;
+ cpi->protocol_version = SCSI_REV_2;
+ cpi->transport = XPORT_USB;
+ cpi->transport_version = 0;
if (sc == NULL) {
cpi->base_transfer_speed = 0;
@@ -2609,7 +2613,7 @@ umass_cam_action(struct cam_sim *sim, union ccb *ccb)
cts->protocol = PROTO_SCSI;
cts->protocol_version = SCSI_REV_2;
cts->transport = XPORT_USB;
- cts->transport_version = XPORT_VERSION_UNSPECIFIED;
+ cts->transport_version = 0;
cts->xport_specific.valid = 0;