linux_dsm_epyc7002/drivers/net/wimax/i2400m
Cindy H Kao 0bcfc5ef01 wimax/i2400m: use -EL3RST to indicate device reset instead of -ERESTARTSYS
When the i2400m device resets, the driver code will force some
functions to return a -ERESTARTSYS error code, which can is used by
the caller to determine which recovery actions to take.

However, in certain situations the only thing that can be done is to
bubble up said error code to user space, for handling.

However, -ERESTARSYS was a poor choice, as it is supposed to be used
by the kernel only.

As such, replace -ERESTARTSYS with -EL3RST; as well, in
i2400m_msg_to_dev(), when the device is in boot mode (following a
recent reset), return -EL3RST instead of -ENODEV (meaning the device
is in bootrom mode after a reset, not that the device was
disconnected, and thus, normal commands cannot be executed).

Signed-off-by: Cindy H Kao <cindy.h.kao@intel.com>
2009-06-11 03:30:26 -07:00
..
control.c wimax/i2400m: use -EL3RST to indicate device reset instead of -ERESTARTSYS 2009-06-11 03:30:26 -07:00
debug-levels.h wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
debugfs.c wimax: fix build issue when debugfs is disabled 2009-01-29 17:18:31 -08:00
driver.c wimax/i2400m: use -EL3RST to indicate device reset instead of -ERESTARTSYS 2009-06-11 03:30:26 -07:00
fw.c wimax/i2400m: don't reset device when bootrom init retries are exceeded 2009-06-11 03:30:25 -07:00
i2400m-sdio.h wimax/i2400m/sdio: Move all the RX code to a unified, IRQ based receive routine 2009-06-11 03:30:25 -07:00
i2400m-usb.h i2400m/USB: header for the USB bus driver 2009-01-07 10:00:21 -08:00
i2400m.h wimax/i2400m: move boot time poke table out of common driver 2009-06-11 03:30:24 -07:00
Kconfig i2400m: Makefile and Kconfig 2009-01-07 10:00:22 -08:00
Makefile wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
netdev.c wimax/i2400m: generate fake source MAC address with random_ether_addr() 2009-05-28 18:01:24 -07:00
op-rfkill.c
rx.c wimax/i2400m: rename misleading I2400M_PL_PAD to I2400M_PL_ALIGN 2009-06-11 03:30:20 -07:00
sdio-debug-levels.h i2400m/SDIO: header for the SDIO subdriver 2009-01-07 10:00:22 -08:00
sdio-fw.c wimax/i2400m/sdio: Move all the RX code to a unified, IRQ based receive routine 2009-06-11 03:30:25 -07:00
sdio-rx.c wimax/i2400m/sdio: Move all the RX code to a unified, IRQ based receive routine 2009-06-11 03:30:25 -07:00
sdio-tx.c i2400m/SDIO: TX and RX path backends 2009-01-07 10:00:22 -08:00
sdio.c wimax/i2400m/sdio: Move all the RX code to a unified, IRQ based receive routine 2009-06-11 03:30:25 -07:00
sysfs.c wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
tx.c wimax/i2400m: fix oops when the TX FIFO fills up due to a missing check 2009-06-11 03:30:22 -07:00
usb-debug-levels.h i2400m/USB: header for the USB bus driver 2009-01-07 10:00:21 -08:00
usb-fw.c i2400m/USB: firmware upload backend 2009-01-07 10:00:21 -08:00
usb-notif.c wimax: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-02 03:10:26 -08:00
usb-rx.c wimax/i2400m: error paths that need to free an skb should use kfree_skb() 2009-01-19 17:58:08 -08:00
usb-tx.c i2400m/USB: TX and RX path backends 2009-01-07 10:00:21 -08:00
usb.c wimax/i2400m: Allow bus-specific driver to specify retry count 2009-06-11 03:30:23 -07:00