• Hayes Wang's avatar
    r8152: support request_firmware for RTL8153 · 9370f2d0
    Hayes Wang authored
    This patch supports loading additional firmware file through
    request_firmware().
    
    A firmware file may include a header followed by several blocks
    which have different types of firmware. Currently, the supported
    types are RTL_FW_END, RTL_FW_PLA, and RTL_FW_USB.
    
    The firmware is used to fix some compatible or hardware issues. For
    example, the device couldn't be found after rebooting several times.
    
    The supported chips are
    	RTL_VER_04 (rtl8153a-2.fw)
    	RTL_VER_05 (rtl8153a-3.fw)
    	RTL_VER_06 (rtl8153a-4.fw)
    	RTL_VER_09 (rtl8153b-2.fw)
    Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
    Reviewed-by: default avatarPrashant Malani <pmalani@chromium.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9370f2d0
r8152.c 149 KB