diff options
| author | Heiner Kallweit <[email protected]> | 2019-01-22 22:23:41 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-23 11:21:59 -0800 |
| commit | 254764e55652d47fe81a54d7c226f3ba230180fe (patch) | |
| tree | 425430280d29ebc3adb56559d5e53f0a47d525ae /scripts/gdb/linux/__init__.py | |
| parent | a56d7b95bec88603a19d4c337d5ae8c439b3ca21 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/__init__.py')
0 files changed, 0 insertions, 0 deletions