kernel: add scsi cdrom support

This closes #9125.

SVN-Revision: 26548
This commit is contained in:
Hauke Mehrtens 2011-04-09 15:59:03 +00:00
parent 3ae4dec6b2
commit 0a637d604b

View File

@ -599,6 +599,7 @@ $(eval $(call KernelPackage,scsi-core))
define KernelPackage/scsi-generic define KernelPackage/scsi-generic
SUBMENU:=$(BLOCK_MENU) SUBMENU:=$(BLOCK_MENU)
TITLE:=Kernel support for SCSI generic TITLE:=Kernel support for SCSI generic
DEPENDS:=+!TARGET_x86:kmod-scsi-core
KCONFIG:= \ KCONFIG:= \
CONFIG_CHR_DEV_SG CONFIG_CHR_DEV_SG
FILES:= \ FILES:= \
@ -607,3 +608,20 @@ define KernelPackage/scsi-generic
endef endef
$(eval $(call KernelPackage,scsi-generic)) $(eval $(call KernelPackage,scsi-generic))
define KernelPackage/scsi-cdrom
SUBMENU:=$(BLOCK_MENU)
TITLE:=Kernel support for CD / DVD drives
DEPENDS:=+!TARGET_x86:kmod-scsi-core
KCONFIG:= \
CONFIG_BLK_DEV_SR \
CONFIG_BLK_DEV_SR_VENDOR=n
FILES:= \
$(LINUX_DIR)/drivers/cdrom/cdrom.ko \
$(LINUX_DIR)/drivers/scsi/sr_mod.ko
AUTOLOAD:=$(call AutoLoad,30,cdrom) $(call AutoLoad,45,sr_mod)
endef
$(eval $(call KernelPackage,scsi-cdrom))