[PATCH] s390: qeth network driver.

From: Martin Schwidefsky
Date: Tue Aug 24 2004 - 08:33:32 EST


[PATCH] s390: qeth network driver.

From: Steffen Thoss <thoss@xxxxxxxxxx>

qeth network driver change:
- Make qeth devices which are present but not up addressable by
snmp ioctls.

Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

diffstat:
drivers/s390/net/qeth_main.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)

diff -urN linux-2.6/drivers/s390/net/qeth_main.c linux-2.6-s390/drivers/s390/net/qeth_main.c
--- linux-2.6/drivers/s390/net/qeth_main.c Tue Aug 24 15:12:22 2004
+++ linux-2.6-s390/drivers/s390/net/qeth_main.c Tue Aug 24 15:12:44 2004
@@ -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 (pavlic@xxxxxxxxxx) and
* Thomas Spatzier <tspat@xxxxxxxxxx>
*
- * $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){
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/