diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2010-03-08 14:26:26 +0300 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-03-08 14:26:28 +0300 |
commit | 1ffaa640c6ba135aafc91841204e41846eae6841 (patch) | |
tree | cb5357dcef64814b9d0734e713bec40d9d89b458 /drivers/s390/net/smsgiucv.h | |
parent | 09003ed90a2880de7e36b170a9298dd10d53e322 (diff) | |
download | linux-1ffaa640c6ba135aafc91841204e41846eae6841.tar.xz |
[S390] smsgiucv_app: deliver z/VM CP special messages (SMSG) as uevents
The smsgiucv_app driver registers a callback with the smsgiucv driver
to receive z/VM CP special messages (SMSG) starting with "APP".
When the callback is called for special messages, the driver creates
an uevent for the received message. The uevent consists of additional
environment data containing the message prefix ("APP"), message sender,
and message content.
udev rules can be used to trigger application specific actions through
matching the content or sender of the special message.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/smsgiucv.h')
-rw-r--r-- | drivers/s390/net/smsgiucv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/smsgiucv.h b/drivers/s390/net/smsgiucv.h index 9410b45fde03..149a1151608d 100644 --- a/drivers/s390/net/smsgiucv.h +++ b/drivers/s390/net/smsgiucv.h @@ -5,6 +5,8 @@ * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) */ +#define SMSGIUCV_DRV_NAME "SMSGIUCV" + int smsg_register_callback(const char *, void (*)(const char *, char *)); void smsg_unregister_callback(const char *, |