aboutsummaryrefslogtreecommitdiff
path: root/sys/cam
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2009-08-18 08:46:54 +0000
committerAlexander Motin <mav@FreeBSD.org>2009-08-18 08:46:54 +0000
commit33ea30fed7516e17d712d96e2d961331bfc94c9c (patch)
tree7ae11e5d3dd4abc0831442b59fcf18e539596c74 /sys/cam
parentd53e359b9ababb9e920a032c95f9a3fc30b4afe3 (diff)
Notes
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_ccb.h1
-rw-r--r--sys/cam/cam_xpt.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h
index 61a57e3b2ab5..a750d935f43f 100644
--- a/sys/cam/cam_ccb.h
+++ b/sys/cam/cam_ccb.h
@@ -243,6 +243,7 @@ typedef enum {
XPORT_ATA, /* AT Attachment */
XPORT_SAS, /* Serial Attached SCSI */
XPORT_SATA, /* Serial AT Attachment */
+ XPORT_ISCSI, /* iSCSI */
} cam_xport;
#define PROTO_VERSION_UNKNOWN (UINT_MAX - 1)
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index ea259668acf4..1c2f61430a6d 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -3803,6 +3803,8 @@ xpt_bus_register(struct cam_sim *sim, device_t parent, u_int32_t bus)
case XPORT_SAS:
case XPORT_FC:
case XPORT_USB:
+ case XPORT_ISCSI:
+ case XPORT_PPB:
new_bus->xport = scsi_get_xport();
break;
case XPORT_ATA: