Skip to content

Commit b6cba4e

Browse files
Stefan BaderLinus Torvalds
authored andcommitted
[PATCH] s390: 3590 tape driver
Michael Holzheu <holzheu@de.ibm.com>, Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Stefan Bader <shbader@de.ibm.com> Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 5f38433 commit b6cba4e

6 files changed

Lines changed: 1443 additions & 11 deletions

File tree

‎drivers/s390/Kconfig‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,13 @@ config S390_TAPE_34XX
183183
tape subsystems and 100% compatibles.
184184
It is safe to say "Y" here.
185185

186-
186+
config S390_TAPE_3590
187+
tristate "Support for 3590 tape hardware"
188+
depends on S390_TAPE
189+
help
190+
Select this option if you want to access IBM 3590 magnetic
191+
tape subsystems and 100% compatibles.
192+
It is safe to say "Y" here.
187193

188194
config VMLOGRDR
189195
tristate "Support for the z/VM recording system services (VM only)"

‎drivers/s390/char/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ tape-$(CONFIG_PROC_FS) += tape_proc.o
2626
tape-objs := tape_core.o tape_std.o tape_char.o $(tape-y)
2727
obj-$(CONFIG_S390_TAPE) += tape.o tape_class.o
2828
obj-$(CONFIG_S390_TAPE_34XX) += tape_34xx.o
29+
obj-$(CONFIG_S390_TAPE_3590) += tape_3590.o
2930
obj-$(CONFIG_MONREADER) += monreader.o

‎drivers/s390/char/tape_34xx.c‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
* drivers/s390/char/tape_34xx.c
33
* tape device discipline for 3480/3490 tapes.
44
*
5-
* S390 and zSeries version
6-
* Copyright (C) 2001,2002 IBM Deutschland Entwicklung GmbH, IBM Corporation
5+
* Copyright (C) IBM Corp. 2001,2006
76
* Author(s): Carsten Otte <cotte@de.ibm.com>
87
* Tuan Ngo-Anh <ngoanh@de.ibm.com>
98
* Martin Schwidefsky <schwidefsky@de.ibm.com>
@@ -28,11 +27,6 @@
2827
debug_info_t *TAPE_DBF_AREA = NULL;
2928
EXPORT_SYMBOL(TAPE_DBF_AREA);
3029

31-
enum tape_34xx_type {
32-
tape_3480,
33-
tape_3490,
34-
};
35-
3630
#define TAPE34XX_FMT_3480 0
3731
#define TAPE34XX_FMT_3480_2_XF 1
3832
#define TAPE34XX_FMT_3480_XF 2

0 commit comments

Comments
 (0)