Skip to content

Commit

Permalink
s390: add scm block driver
Browse files Browse the repository at this point in the history
Block device driver for Storage Class Memory (SCM). This driver
provides a block device interface for each available SCM increment.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Sep 26, 2012
1 parent 2e73c2c commit f30664e
Show file tree
Hide file tree
Showing 5 changed files with 597 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/s390/block/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,14 @@ config DASD_EER
This driver provides a character device interface to the
DASD extended error reporting. This is only needed if you want to
use applications written for the EER facility.

config SCM_BLOCK
def_tristate m
prompt "Support for Storage Class Memory"
depends on S390 && BLOCK && EADM_SCH && SCM_BUS
help
Block device driver for Storage Class Memory (SCM). This driver
provides a block device interface for each available SCM increment.

To compile this driver as a module, choose M here: the
module will be called scm_block.
3 changes: 3 additions & 0 deletions drivers/s390/block/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ obj-$(CONFIG_DASD_ECKD) += dasd_eckd_mod.o
obj-$(CONFIG_DASD_FBA) += dasd_fba_mod.o
obj-$(CONFIG_BLK_DEV_XPRAM) += xpram.o
obj-$(CONFIG_DCSSBLK) += dcssblk.o

scm_block-objs := scm_drv.o scm_blk.o
obj-$(CONFIG_SCM_BLOCK) += scm_block.o
Loading

0 comments on commit f30664e

Please sign in to comment.