summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_scan.c
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2009-01-25 15:51:33 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 18:58:05 +0100
commit82443a58d361123d418033e9e32ac29a842fce68 (patch)
tree33b940f139a6744838b7611796b1bb092ff38891 /drivers/scsi/scsi_scan.c
parent[SCSI] major.h: char-major number for OSD device driver (diff)
downloadlinux-82443a58d361123d418033e9e32ac29a842fce68.tar.xz
linux-82443a58d361123d418033e9e32ac29a842fce68.zip
[SCSI] add OSD_TYPE
- Define the OSD_TYPE scsi device and let it show up in scans Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r--drivers/scsi/scsi_scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index 8f4de20c9deb..a14d245a66b8 100644
--- a/drivers/scsi/scsi_scan.c
+++ b/drivers/scsi/scsi_scan.c
@@ -797,6 +797,7 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result,
case TYPE_ENCLOSURE:
case TYPE_COMM:
case TYPE_RAID:
+ case TYPE_OSD:
sdev->writeable = 1;
break;
case TYPE_ROM: