linux_dsm_epyc7002/drivers/net/ethernet/realtek
Heiner Kallweit 254764e556 r8169: improve firmware handling
So far member rtl_fw has three states:
- IS_ERR(rtl_fw): firmware not loaded
- !rtl_fw: no firmware available
- other: firmware loaded

This can be made simpler and clearer by adding the firmware name as
member fw_name to struct rtl8169_private. Then:

- !fw_name: no firmware available
- !rtl_fw: firmware not loaded
- rtl_fw: firmware loaded

This change also allows to easily merge rtl_request_uncached_firmware
into rtl_request_firmware.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-23 11:21:59 -08:00
..
8139cp.c net: 8139cp: fix a BUG triggered by changing mtu with network traffic 2018-12-03 13:53:08 -08:00
8139too.c ethernet/realtek: Replace synchronize_sched() with synchronize_rcu() 2018-11-27 09:21:37 -08:00
atp.c drivers: net: atp: fix various indentation issues 2019-01-16 14:04:22 -08:00
atp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig r8169: add missing Kconfig dependency 2018-08-17 12:24:13 -07:00
Makefile
r8169.c r8169: improve firmware handling 2019-01-23 11:21:59 -08:00