mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
parent
da7c5af828
commit
fcc6ab335b
3 changed files with 76 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _ASM_S390_ISC_H
|
||||
#define _ASM_S390_ISC_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/*
|
||||
* I/O interruption subclasses used by drivers.
|
||||
* Please add all used iscs here so that it is possible to distribute
|
||||
|
|
@ -15,4 +17,8 @@
|
|||
/* Adapter interrupts. */
|
||||
#define QDIO_AIRQ_ISC IO_SCH_ISC /* I/O subchannel in qdio mode */
|
||||
|
||||
/* Functions for registration of I/O interruption subclasses */
|
||||
void isc_register(unsigned int isc);
|
||||
void isc_unregister(unsigned int isc);
|
||||
|
||||
#endif /* _ASM_S390_ISC_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue