summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_mpc.h
diff options
context:
space:
mode:
authorUrsula Braun <braunu@de.ibm.com>2007-08-29 11:26:57 +0200
committerJeff Garzik <jeff@garzik.org>2007-08-31 06:52:58 -0400
commit6e55cab9f004e6e7a9ab5d7b27fb705ed0de838e (patch)
tree70ab35142abfe2d08bce38e9e11849c5d1205132 /drivers/s390/net/qeth_mpc.h
parent6d4f3d182b1c6074b84feaadd84a0957059a5940 (diff)
qeth: provide specific message for OSA-adapters exclusively used
Exclusive usage of OSA-cards has been introduced. Even though Linux does not make use of it, qeth should be prepared to receive a bad RC for some initialization steps. A meaningful message is now given, if an OSA-device is set online, even though the OSA-adapter is already exclusively used by another host. Signed-off-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/s390/net/qeth_mpc.h')
-rw-r--r--drivers/s390/net/qeth_mpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_mpc.h b/drivers/s390/net/qeth_mpc.h
index 1d8083c9176..6de2da5ed5f 100644
--- a/drivers/s390/net/qeth_mpc.h
+++ b/drivers/s390/net/qeth_mpc.h
@@ -565,6 +565,7 @@ extern unsigned char IDX_ACTIVATE_WRITE[];
#define QETH_IDX_ACT_QDIO_DEV_REALADDR(buffer) (buffer+0x20)
#define QETH_IS_IDX_ACT_POS_REPLY(buffer) (((buffer)[0x08]&3)==2)
#define QETH_IDX_REPLY_LEVEL(buffer) (buffer+0x12)
+#define QETH_IDX_ACT_CAUSE_CODE(buffer) (buffer)[0x09]
#define PDU_ENCAPSULATION(buffer) \
(buffer + *(buffer + (*(buffer+0x0b)) + \