diff options
author | Carsten Otte <cotte@de.ibm.com> | 2006-01-06 03:19:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:49 -0500 |
commit | cfb1b55595a0dfd87b5849e8d0216c029f34445f (patch) | |
tree | 86d73bda5e9c82e70a4bdbacfac6be5644c8a987 /drivers/s390/net | |
parent | 6810a2bce3aa6573faa9920487274f166fe95c6e (diff) |
[PATCH] s390: move s390_root_dev_* out of the cio layer
Extract the s390_root_dev_* functions from the common I/O layer as they are
also used by non-ccw device drivers.
Signed-off-by: Carsten Otte <cotte@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>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/cu3088.c | 3 | ||||
-rw-r--r-- | drivers/s390/net/iucv.c | 2 | ||||
-rw-r--r-- | drivers/s390/net/qeth_main.c | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/s390/net/cu3088.c b/drivers/s390/net/cu3088.c index 0075894c71db..77dacb465732 100644 --- a/drivers/s390/net/cu3088.c +++ b/drivers/s390/net/cu3088.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: cu3088.c,v 1.35 2005/03/30 19:28:52 richtera Exp $ | 2 | * $Id: cu3088.c,v 1.36 2005/10/25 14:37:17 cohuck Exp $ |
3 | * | 3 | * |
4 | * CTC / LCS ccw_device driver | 4 | * CTC / LCS ccw_device driver |
5 | * | 5 | * |
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | #include <linux/err.h> | 28 | #include <linux/err.h> |
29 | 29 | ||
30 | #include <asm/s390_rdev.h> | ||
30 | #include <asm/ccwdev.h> | 31 | #include <asm/ccwdev.h> |
31 | #include <asm/ccwgroup.h> | 32 | #include <asm/ccwgroup.h> |
32 | 33 | ||
diff --git a/drivers/s390/net/iucv.c b/drivers/s390/net/iucv.c index ecb2f8fd7873..ea8177392564 100644 --- a/drivers/s390/net/iucv.c +++ b/drivers/s390/net/iucv.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <asm/s390_ext.h> | 54 | #include <asm/s390_ext.h> |
55 | #include <asm/ebcdic.h> | 55 | #include <asm/ebcdic.h> |
56 | #include <asm/smp.h> | 56 | #include <asm/smp.h> |
57 | #include <asm/ccwdev.h> //for root device stuff | 57 | #include <asm/s390_rdev.h> |
58 | 58 | ||
59 | /* FLAGS: | 59 | /* FLAGS: |
60 | * All flags are defined in the field IPFLAGS1 of each function | 60 | * All flags are defined in the field IPFLAGS1 of each function |
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c index 7b2663f27817..97f927c01a82 100644 --- a/drivers/s390/net/qeth_main.c +++ b/drivers/s390/net/qeth_main.c | |||
@@ -65,6 +65,7 @@ | |||
65 | #include <asm/timex.h> | 65 | #include <asm/timex.h> |
66 | #include <asm/semaphore.h> | 66 | #include <asm/semaphore.h> |
67 | #include <asm/uaccess.h> | 67 | #include <asm/uaccess.h> |
68 | #include <asm/s390_rdev.h> | ||
68 | 69 | ||
69 | #include "qeth.h" | 70 | #include "qeth.h" |
70 | #include "qeth_mpc.h" | 71 | #include "qeth_mpc.h" |