[S390] smsgiucv_app: deliver z/VM CP special messages (SMSG) as uevents
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 8 Mar 2010 11:26:26 +0000 (12:26 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 8 Mar 2010 11:26:28 +0000 (12:26 +0100)
commit1ffaa640c6ba135aafc91841204e41846eae6841
treecb5357dcef64814b9d0734e713bec40d9d89b458
parent09003ed90a2880de7e36b170a9298dd10d53e322
[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>
drivers/s390/net/Kconfig
drivers/s390/net/Makefile
drivers/s390/net/smsgiucv.c
drivers/s390/net/smsgiucv.h
drivers/s390/net/smsgiucv_app.c [new file with mode: 0644]