aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/osd/Kbuild
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2009-01-25 09:56:47 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 13:58:06 -0400
commit95b05a7db5865855c32e0bb8b244c3a7aac1cfeb (patch)
tree48f1af3fb003ff537f6288a169e863ba194dba70 /drivers/scsi/osd/Kbuild
parent02941a530ef736210b4cf8b24dd34c238d5d5a40 (diff)
[SCSI] osd_uld: OSD scsi ULD
Add a Linux driver module that registers as a SCSI ULD and probes for OSD type SCSI devices. When an OSD-type SCSI device is found a character device is created in the form of /dev/osdX - where X goes from 0 up to hard coded 64. The Major character device number used is 260. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Reviewed-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/osd/Kbuild')
-rw-r--r--drivers/scsi/osd/Kbuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/osd/Kbuild b/drivers/scsi/osd/Kbuild
index a95e0251005c..9d38248afcb7 100644
--- a/drivers/scsi/osd/Kbuild
+++ b/drivers/scsi/osd/Kbuild
@@ -17,6 +17,9 @@ ifneq ($(OSD_INC),)
17CONFIG_SCSI_OSD_INITIATOR=m 17CONFIG_SCSI_OSD_INITIATOR=m
18ccflags-y += -DCONFIG_SCSI_OSD_INITIATOR -DCONFIG_SCSI_OSD_INITIATOR_MODULE 18ccflags-y += -DCONFIG_SCSI_OSD_INITIATOR -DCONFIG_SCSI_OSD_INITIATOR_MODULE
19 19
20CONFIG_SCSI_OSD_ULD=m
21ccflags-y += -DCONFIG_SCSI_OSD_ULD -DCONFIG_SCSI_OSD_ULD_MODULE
22
20# Uncomment to turn debug on 23# Uncomment to turn debug on
21# ccflags-y += -DCONFIG_SCSI_OSD_DEBUG 24# ccflags-y += -DCONFIG_SCSI_OSD_DEBUG
22 25
@@ -30,3 +33,7 @@ endif
30# libosd.ko - osd-initiator library 33# libosd.ko - osd-initiator library
31libosd-y := osd_initiator.o 34libosd-y := osd_initiator.o
32obj-$(CONFIG_SCSI_OSD_INITIATOR) += libosd.o 35obj-$(CONFIG_SCSI_OSD_INITIATOR) += libosd.o
36
37# osd.ko - SCSI ULD and char-device
38osd-y := osd_uld.o
39obj-$(CONFIG_SCSI_OSD_ULD) += osd.o