IB/hfi1: Add MODULE_FIRMWARE statements
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Wed, 11 Oct 2017 12:41:34 +0000 (14:41 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 14:24:02 +0000 (10:24 -0400)
Provide information about used firmware files via modinfo.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/firmware.c

index 148a2c7bddaca000ec0d6ec33316b21caa10f348..98868df78a7e1b10fe32ec01b9c291412bb4beb7 100644 (file)
 #define ALT_FW_PCIE_NAME "hfi1_pcie_d.fw"
 #define HOST_INTERFACE_VERSION 1
 
+MODULE_FIRMWARE(DEFAULT_FW_8051_NAME_ASIC);
+MODULE_FIRMWARE(DEFAULT_FW_FABRIC_NAME);
+MODULE_FIRMWARE(DEFAULT_FW_SBUS_NAME);
+MODULE_FIRMWARE(DEFAULT_FW_PCIE_NAME);
+
 static uint fw_8051_load = 1;
 static uint fw_fabric_serdes_load = 1;
 static uint fw_pcie_serdes_load = 1;