1. 26 1月, 2019 17 次提交
  2. 25 1月, 2019 22 次提交
  3. 24 1月, 2019 1 次提交
    • H
      r8169: improve firmware handling · 254764e5
      Heiner Kallweit 提交于
      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: NHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      254764e5