diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2008-07-14 03:59:00 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 04:02:11 -0400 |
commit | fcc6ab335ba4d0f2b2548a910466c0dac767e5b1 (patch) | |
tree | 2a20c5b66c7e5528cb374034f0a3d7415d5a1a3a /include/asm-s390/isc.h | |
parent | da7c5af82879828409f6b81431ac2f9f353ab04e (diff) |
[S390] cio: introduce isc_(un)register functions.
This interface makes it easy for drivers to register usage of different
I/O interruption subclasses without needing to worry about possible
other users of the same isc.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include/asm-s390/isc.h')
-rw-r--r-- | include/asm-s390/isc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-s390/isc.h b/include/asm-s390/isc.h index 533a1372234a..fe56f7b445ea 100644 --- a/include/asm-s390/isc.h +++ b/include/asm-s390/isc.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef _ASM_S390_ISC_H | 1 | #ifndef _ASM_S390_ISC_H |
2 | #define _ASM_S390_ISC_H | 2 | #define _ASM_S390_ISC_H |
3 | 3 | ||
4 | #include <linux/types.h> | ||
5 | |||
4 | /* | 6 | /* |
5 | * I/O interruption subclasses used by drivers. | 7 | * I/O interruption subclasses used by drivers. |
6 | * Please add all used iscs here so that it is possible to distribute | 8 | * Please add all used iscs here so that it is possible to distribute |
@@ -15,4 +17,8 @@ | |||
15 | /* Adapter interrupts. */ | 17 | /* Adapter interrupts. */ |
16 | #define QDIO_AIRQ_ISC IO_SCH_ISC /* I/O subchannel in qdio mode */ | 18 | #define QDIO_AIRQ_ISC IO_SCH_ISC /* I/O subchannel in qdio mode */ |
17 | 19 | ||
20 | /* Functions for registration of I/O interruption subclasses */ | ||
21 | void isc_register(unsigned int isc); | ||
22 | void isc_unregister(unsigned int isc); | ||
23 | |||
18 | #endif /* _ASM_S390_ISC_H */ | 24 | #endif /* _ASM_S390_ISC_H */ |