commit | 0a616b327db0676bdf55df0b532406a3fd29a75a | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Mon Jun 03 21:23:43 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 03 15:38:43 2019 -0700 |
tree | beb3dd2059e41331394802357a90ff6966f945ca | |
parent | 6e36d77c83c6afbeef72becf0e879b89f15745ff [diff] |
r8169: add enum rtl_fw_opcode Replace the firmware opcode defines with a proper enum. The BUG() in rtl_fw_write_firmware() can be removed because the call to rtl_fw_data_ok() ensures all opcodes are valid. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>