s390: qeth network driver.
Subsystems (3)
PATCH 1/1 s390: qeth network driver.
[PATCH] s390: qeth network driver.
From: Steffen Thoss <[email protected]>
qeth network driver change:
- Make qeth devices which are present but not up addressable by snmp ioctls.
Signed-off-by Martin Schwidefsky <[email protected]>
diffstat:
drivers/s390/net/qeth_main.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
drivers/s390/net/qeth_main.c +5 -4
@@ -1,6 +1,6 @@/* * -* linux/drivers/s390/net/qeth_main.c ($Revision: 1.130 $) +* linux/drivers/s390/net/qeth_main.c ($Revision: 1.132 $) * * Linux on zSeries OSA Express and HiperSockets support *
@@ -12,7 +12,7 @@* Frank Pavlic ([email protected]) and * Thomas Spatzier <[email protected]> * -* $Revision: 1.130 $ $Date: 2004/08/05 11:21:50 $ +* $Revision: 1.132 $ $Date: 2004/08/19 12:39:43 $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -79,7 +79,7 @@#include "qeth_mpc.h" #include "qeth_fs.h" -#define VERSION_QETH_C "$Revision: 1.130 $" +#define VERSION_QETH_C "$Revision: 1.132 $"static const char *version ="qeth S/390 OSA-Express driver" ;/**
@@ -4547,7 +4547,8 @@if (!card)return -ENODEV ; -if (card->state !=CARD_STATE_UP ) +if ((card->state !=CARD_STATE_UP ) && + (card->state !=CARD_STATE_SOFTSETUP ))return -ENODEV ;switch (cmd){