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-20211023
  • Loading branch information
heftig committed Nov 3, 2021
1 parent 7607cbe commit dcc1c5d
Show file tree
Hide file tree
Showing 5 changed files with 1,129 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/scsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1535,4 +1535,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
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VHBA_VERSION := 20211023

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

0 comments on commit dcc1c5d

Please sign in to comment.