rtl_nic: add firmware files for RTL8153
Subsystems (2)
PATCH 1/1 rtl_nic: add firmware files for RTL8153
This adds the firmware for Realtek RTL8153 Based USB Ethernet Adapters.
1. Fix compatible issue for Asmedia hub.
2. Fix compatible issue for Compal platform.
3. Fix sometimes the device is lost after rebooting.
4. Improve the compatibility for EEE.
--- WHENCE | 11 +++++++++++ rtl_nic/rtl8153a-2.fw | Bin 0 -> 1768 bytes rtl_nic/rtl8153a-3.fw | Bin 0 -> 1440 bytes rtl_nic/rtl8153a-4.fw | Bin 0 -> 712 bytes rtl_nic/rtl8153b-2.fw | Bin 0 -> 1088 bytes 5 files changed, 11 insertions(+) create mode 100644 rtl_nic/rtl8153a-2.fw create mode 100644 rtl_nic/rtl8153a-3.fw create mode 100644 rtl_nic/rtl8153a-4.fw create mode 100644 rtl_nic/rtl8153b-2.fw
WHENCE +11 -0
@@ -2965,6 +2965,17 @@ Licence: -------------------------------------------------------------------------- +Driver: r8152 - Realtek RTL8152/RTL8153 Based USB Ethernet Adapters + +File: rtl_nic/rtl8153a-2.fw +File: rtl_nic/rtl8153a-3.fw +File: rtl_nic/rtl8153a-4.fw +File: rtl_nic/rtl8153b-2.fw + +Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details. + +-------------------------------------------------------------------------- + Driver: vt6656 - VIA VT6656 USB wireless driver File: vntwusb.fw
rtl_nic/rtl8153a-2.fw new file binary +0 -0
rtl_nic/rtl8153a-3.fw new file binary +0 -0
rtl_nic/rtl8153a-4.fw new file binary +0 -0
rtl_nic/rtl8153b-2.fw new file binary +0 -0
Signature · 1 line
2.21.0
Quoted 9 lines · Hayes Wang
This adds the firmware for Realtek RTL8153 Based USB Ethernet Adapters.
1. Fix compatible issue for Asmedia hub.
2. Fix compatible issue for Compal platform.
3. Fix sometimes the device is lost after rebooting.
4. Improve the compatibility for EEE.Signed-off-by Hayes Wang <[email protected]>
Quoted 11 lines
--- WHENCE | 11 +++++++++++ rtl_nic/rtl8153a-2.fw | Bin 0 -> 1768 bytes rtl_nic/rtl8153a-3.fw | Bin 0 -> 1440 bytes rtl_nic/rtl8153a-4.fw | Bin 0 -> 712 bytes rtl_nic/rtl8153b-2.fw | Bin 0 -> 1088 bytes 5 files changed, 11 insertions(+) create mode 100644 rtl_nic/rtl8153a-2.fw create mode 100644 rtl_nic/rtl8153a-3.fw create mode 100644 rtl_nic/rtl8153a-4.fw create mode 100644 rtl_nic/rtl8153b-2.fw
Applied and pushed out.
josh
Hi Hayes,
Quoted 7 lines · Hayes Wang
This adds the firmware for Realtek RTL8153 Based USB Ethernet Adapters.
1. Fix compatible issue for Asmedia hub.
2. Fix compatible issue for Compal platform.
3. Fix sometimes the device is lost after rebooting.
4. Improve the compatibility for EEE.
Quoted 6 lines
Signed-off-by Hayes Wang <[email protected]>--- WHENCE | 11 +++++++++++ rtl_nic/rtl8153a-2.fw | Bin 0 -> 1768 bytes rtl_nic/rtl8153a-3.fw | Bin 0 -> 1440 bytes rtl_nic/rtl8153a-4.fw | Bin 0 -> 712 bytes
This file fails to load for me:
thost kernel: [ T2503] r8152 1-3:1.0: unused bp5 is not zero
thost kernel: [ T2503] r8152 1-3:1.0: check USB firmware failed
thost kernel: [ T2503] r8152 1-3:1.0: unable to load firmware patch rtl_nic/rtl8153a-4.fw (-14)
Looking at the above file it has fw_mac->bp_num set to 5, but fw_mac->bp[] array has 6 elements filled.
If I force fw_mac->bp_num to 6 in the code it loads successfully, so perhaps it's a mistake in the firmware header?
Maciej
Maciej S. Szmigiero [mailto:[email protected]]
Quoted 1 line
Sent: Sunday, February 02, 2020 6:57 AM
[...]
Quoted 11 lines
This file fails to load for me:
thost kernel: [ T2503] r8152 1-3:1.0: unused bp5 is not zero thost kernel: [ T2503] r8152 1-3:1.0: check USB firmware failed thost kernel: [ T2503] r8152 1-3:1.0: unable to load firmware patch rtl_nic/rtl8153a-4.fw (-14)Looking at the above file it has
fw_mac->bp_numset to 5, but fw_mac->bp[] array has 6 elements filled.If I force
fw_mac->bp_numto 6 in the code it loads successfully, so perhaps it's a mistake in the firmware header?
Yes. I updated the firmware and forgot to modify the bp_num before releasing it. I will fix it. Thanks.
Best Regards,
Hayes