summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/osd/Kbuild
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2009-01-25 15:56:47 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 18:58:06 +0100
commit95b05a7db5865855c32e0bb8b244c3a7aac1cfeb (patch)
tree48f1af3fb003ff537f6288a169e863ba194dba70 /drivers/scsi/osd/Kbuild
parent[SCSI] libosd: OSDv1 preliminary implementation (diff)
downloadlinux-95b05a7db5865855c32e0bb8b244c3a7aac1cfeb.tar.xz
linux-95b05a7db5865855c32e0bb8b244c3a7aac1cfeb.zip
[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),)
CONFIG_SCSI_OSD_INITIATOR=m
ccflags-y += -DCONFIG_SCSI_OSD_INITIATOR -DCONFIG_SCSI_OSD_INITIATOR_MODULE
+CONFIG_SCSI_OSD_ULD=m
+ccflags-y += -DCONFIG_SCSI_OSD_ULD -DCONFIG_SCSI_OSD_ULD_MODULE
+
# Uncomment to turn debug on
# ccflags-y += -DCONFIG_SCSI_OSD_DEBUG
@@ -30,3 +33,7 @@ endif
# libosd.ko - osd-initiator library
libosd-y := osd_initiator.o
obj-$(CONFIG_SCSI_OSD_INITIATOR) += libosd.o
+
+# osd.ko - SCSI ULD and char-device
+osd-y := osd_uld.o
+obj-$(CONFIG_SCSI_OSD_ULD) += osd.o