Skip to content

Commit

Permalink
s390/cio: add eadm subchannel driver
Browse files Browse the repository at this point in the history
This driver allows usage of EADM subchannels. EADM subchannels
act as a communication vehicle for SCM increments.

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 40ff4cc commit eadb86a
Show file tree
Hide file tree
Showing 5 changed files with 431 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,17 @@ config SCM_BUS
help
Bus driver for Storage Class Memory.

config EADM_SCH
def_tristate m
prompt "Support for EADM subchannels"
depends on SCM_BUS
help
This driver allows usage of EADM subchannels. EADM subchannels act
as a communication vehicle for SCM increments.

To compile this driver as a module, choose M here: the
module will be called eadm_sch.

endmenu

menu "Dump support"
Expand Down
1 change: 1 addition & 0 deletions arch/s390/include/asm/isc.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
/* Regular I/O interrupts. */
#define IO_SCH_ISC 3 /* regular I/O subchannels */
#define CONSOLE_ISC 1 /* console I/O subchannel */
#define EADM_SCH_ISC 4 /* EADM subchannels */
#define CHSC_SCH_ISC 7 /* CHSC subchannels */
/* Adapter interrupts. */
#define QDIO_AIRQ_ISC IO_SCH_ISC /* I/O subchannel in qdio mode */
Expand Down
1 change: 1 addition & 0 deletions drivers/s390/cio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ccw_device-objs += device.o device_fsm.o device_ops.o
ccw_device-objs += device_id.o device_pgid.o device_status.o
obj-y += ccw_device.o cmf.o
obj-$(CONFIG_CHSC_SCH) += chsc_sch.o
obj-$(CONFIG_EADM_SCH) += eadm_sch.o
obj-$(CONFIG_SCM_BUS) += scm.o
obj-$(CONFIG_CCWGROUP) += ccwgroup.o

Expand Down
Loading

0 comments on commit eadb86a

Please sign in to comment.