diff options
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/cio.c | 4 | ||||
-rw-r--r-- | drivers/s390/cio/device_ops.c | 6 | ||||
-rw-r--r-- | drivers/s390/cio/qdio.h | 6 |
3 files changed, 9 insertions, 7 deletions
diff --git a/drivers/s390/cio/cio.c b/drivers/s390/cio/cio.c index 99ce5a567982..1d9b3f18d8de 100644 --- a/drivers/s390/cio/cio.c +++ b/drivers/s390/cio/cio.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * drivers/s390/cio/cio.c | 2 | * drivers/s390/cio/cio.c |
3 | * S/390 common I/O routines -- low level i/o calls | 3 | * S/390 common I/O routines -- low level i/o calls |
4 | * $Revision: 1.131 $ | 4 | * $Revision: 1.133 $ |
5 | * | 5 | * |
6 | * Copyright (C) 1999-2002 IBM Deutschland Entwicklung GmbH, | 6 | * Copyright (C) 1999-2002 IBM Deutschland Entwicklung GmbH, |
7 | * IBM Corporation | 7 | * IBM Corporation |
@@ -228,7 +228,7 @@ cio_start_key (struct subchannel *sch, /* subchannel structure */ | |||
228 | int | 228 | int |
229 | cio_start (struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) | 229 | cio_start (struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) |
230 | { | 230 | { |
231 | return cio_start_key(sch, cpa, lpm, default_storage_key); | 231 | return cio_start_key(sch, cpa, lpm, PAGE_DEFAULT_KEY); |
232 | } | 232 | } |
233 | 233 | ||
234 | /* | 234 | /* |
diff --git a/drivers/s390/cio/device_ops.c b/drivers/s390/cio/device_ops.c index 11e260e0b9c9..02d01a0de16c 100644 --- a/drivers/s390/cio/device_ops.c +++ b/drivers/s390/cio/device_ops.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * drivers/s390/cio/device_ops.c | 2 | * drivers/s390/cio/device_ops.c |
3 | * | 3 | * |
4 | * $Revision: 1.55 $ | 4 | * $Revision: 1.56 $ |
5 | * | 5 | * |
6 | * Copyright (C) 2002 IBM Deutschland Entwicklung GmbH, | 6 | * Copyright (C) 2002 IBM Deutschland Entwicklung GmbH, |
7 | * IBM Corporation | 7 | * IBM Corporation |
@@ -128,7 +128,7 @@ ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, | |||
128 | unsigned long intparm, __u8 lpm, unsigned long flags) | 128 | unsigned long intparm, __u8 lpm, unsigned long flags) |
129 | { | 129 | { |
130 | return ccw_device_start_key(cdev, cpa, intparm, lpm, | 130 | return ccw_device_start_key(cdev, cpa, intparm, lpm, |
131 | default_storage_key, flags); | 131 | PAGE_DEFAULT_KEY, flags); |
132 | } | 132 | } |
133 | 133 | ||
134 | int | 134 | int |
@@ -137,7 +137,7 @@ ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, | |||
137 | int expires) | 137 | int expires) |
138 | { | 138 | { |
139 | return ccw_device_start_timeout_key(cdev, cpa, intparm, lpm, | 139 | return ccw_device_start_timeout_key(cdev, cpa, intparm, lpm, |
140 | default_storage_key, flags, | 140 | PAGE_DEFAULT_KEY, flags, |
141 | expires); | 141 | expires); |
142 | } | 142 | } |
143 | 143 | ||
diff --git a/drivers/s390/cio/qdio.h b/drivers/s390/cio/qdio.h index 9ad14db24143..b6daadac4e8b 100644 --- a/drivers/s390/cio/qdio.h +++ b/drivers/s390/cio/qdio.h | |||
@@ -1,7 +1,9 @@ | |||
1 | #ifndef _CIO_QDIO_H | 1 | #ifndef _CIO_QDIO_H |
2 | #define _CIO_QDIO_H | 2 | #define _CIO_QDIO_H |
3 | 3 | ||
4 | #define VERSION_CIO_QDIO_H "$Revision: 1.26 $" | 4 | #include <asm/page.h> |
5 | |||
6 | #define VERSION_CIO_QDIO_H "$Revision: 1.32 $" | ||
5 | 7 | ||
6 | #ifdef CONFIG_QDIO_DEBUG | 8 | #ifdef CONFIG_QDIO_DEBUG |
7 | #define QDIO_VERBOSE_LEVEL 9 | 9 | #define QDIO_VERBOSE_LEVEL 9 |
@@ -42,7 +44,7 @@ | |||
42 | 44 | ||
43 | #define QDIO_Q_LAPS 5 | 45 | #define QDIO_Q_LAPS 5 |
44 | 46 | ||
45 | #define QDIO_STORAGE_KEY 0 | 47 | #define QDIO_STORAGE_KEY PAGE_DEFAULT_KEY |
46 | 48 | ||
47 | #define L2_CACHELINE_SIZE 256 | 49 | #define L2_CACHELINE_SIZE 256 |
48 | #define INDICATORS_PER_CACHELINE (L2_CACHELINE_SIZE/sizeof(__u32)) | 50 | #define INDICATORS_PER_CACHELINE (L2_CACHELINE_SIZE/sizeof(__u32)) |