alistair23-linux/drivers/s390/net
Eugene Crosser 511c24456a qeth: don't query for info if hardware not ready.
When qeth device is queried for ethtool data, hardware operation
is performed to extract the necessary information from the card.
If the card is not online at the moment (e.g. it is undergoing
recovery), this operation produces undesired effects like
temporarily freezing the system. This patch prevents execution
of the hardware query operation when the card is not online.
In such case, ioctl() operation returns error with errno ENODEV.

Reviewed-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-09-02 13:54:06 -07:00
..
claw.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
claw.h s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
ctcm_dbug.c s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
ctcm_dbug.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_fsms.c drivers/s390/net: removes unnecessary semicolon 2012-09-24 15:45:17 -04:00
ctcm_fsms.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_main.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
ctcm_main.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_mpc.c ctcm: remove BUG_ONs 2012-11-19 14:19:00 -05:00
ctcm_mpc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_sysfs.c s390/net: fix format string mismatches 2014-05-30 17:35:23 -07:00
fsm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fsm.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
Kconfig qeth: Update Kconfig wording 2013-01-21 13:51:15 -05:00
lcs.c s390/net: fix format string mismatches 2014-05-30 17:35:23 -07:00
lcs.h s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
Makefile qeth: bridgeport support - basic control 2014-01-15 14:48:01 -08:00
netiucv.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
qeth_core.h qeth: don't query for info if hardware not ready. 2014-09-02 13:54:06 -07:00
qeth_core_main.c qeth: don't query for info if hardware not ready. 2014-09-02 13:54:06 -07:00
qeth_core_mpc.c qeth: bridgeport support - address notifications 2014-01-15 14:48:01 -08:00
qeth_core_mpc.h qeth: Display adjacent switch attributes 2014-07-21 20:21:40 -07:00
qeth_core_sys.c qeth: Display adjacent switch attributes 2014-07-21 20:21:40 -07:00
qeth_l2.h qeth: bridgeport support - basic control 2014-01-15 14:48:01 -08:00
qeth_l2_main.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
qeth_l2_sys.c qeth: don't query for info if hardware not ready. 2014-09-02 13:54:06 -07:00
qeth_l3.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qeth_l3_main.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
qeth_l3_sys.c s390: replace strict_strtoul() with kstrtoul() 2013-08-22 12:20:00 +02:00
smsgiucv.c smsgiucv: reestablish IUCV path after resume 2012-10-16 14:41:46 -04:00
smsgiucv.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
smsgiucv_app.c Driver core: driver_find() drops reference before returning 2012-01-24 16:00:34 -08:00