Skip to content

Commit

Permalink
ZEN: Add VHBA driver
Browse files Browse the repository at this point in the history
remote https://github.com/cdemu/cdemu
tag    vhba-module-20211218
  • Loading branch information
heftig committed Dec 11, 2022
1 parent f884ec1 commit ecf4776
Show file tree
Hide file tree
Showing 5 changed files with 1,140 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/scsi/Kconfig
Expand Up @@ -1524,4 +1524,6 @@ endif # SCSI_LOWLEVEL

source "drivers/scsi/device_handler/Kconfig"

source "drivers/scsi/vhba/Kconfig"

endmenu
1 change: 1 addition & 0 deletions drivers/scsi/Makefile
Expand Up @@ -151,6 +151,7 @@ obj-$(CONFIG_CHR_DEV_SCH) += ch.o
obj-$(CONFIG_SCSI_ENCLOSURE) += ses.o

obj-$(CONFIG_SCSI_HISI_SAS) += hisi_sas/
obj-$(CONFIG_VHBA) += vhba/

# This goes last, so that "real" scsi devices probe earlier
obj-$(CONFIG_SCSI_DEBUG) += scsi_debug.o
Expand Down
9 changes: 9 additions & 0 deletions drivers/scsi/vhba/Kconfig
@@ -0,0 +1,9 @@
config VHBA
tristate "Virtual (SCSI) Host Bus Adapter"
depends on SCSI
help
This is the in-kernel part of CDEmu, a CD/DVD-ROM device
emulator.

This driver can also be built as a module. If so, the module
will be called vhba.
4 changes: 4 additions & 0 deletions drivers/scsi/vhba/Makefile
@@ -0,0 +1,4 @@
VHBA_VERSION := 20211218

obj-$(CONFIG_VHBA) += vhba.o
ccflags-y := -DVHBA_VERSION=\"$(VHBA_VERSION)\" -Werror

0 comments on commit ecf4776

Please sign in to comment.