aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2006-10-02 15:00:48 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-03 18:29:02 -0400
commitbb8ee4998498e15b5c8ed94cd7dd8d07e586c0ab (patch)
treea20b8f6a3bc01b2eb8b0accf96127d310a6b3e69 /drivers/scsi/qla2xxx/qla_os.c
parent7047fcddb1bc96a80fc54ac3a88ea18ca3ae77f6 (diff)
[SCSI] qla2xxx: Add MODULE_FIRMWARE tags.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c21
1 files changed, 16 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 9e665e1281c4..cdc7fca421bf 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -2564,14 +2564,20 @@ qla2x00_down_timeout(struct semaphore *sema, unsigned long timeout)
2564#define FW_ISP2322 3 2564#define FW_ISP2322 3
2565#define FW_ISP24XX 4 2565#define FW_ISP24XX 4
2566 2566
2567#define FW_FILE_ISP21XX "ql2100_fw.bin"
2568#define FW_FILE_ISP22XX "ql2200_fw.bin"
2569#define FW_FILE_ISP2300 "ql2300_fw.bin"
2570#define FW_FILE_ISP2322 "ql2322_fw.bin"
2571#define FW_FILE_ISP24XX "ql2400_fw.bin"
2572
2567static DECLARE_MUTEX(qla_fw_lock); 2573static DECLARE_MUTEX(qla_fw_lock);
2568 2574
2569static struct fw_blob qla_fw_blobs[FW_BLOBS] = { 2575static struct fw_blob qla_fw_blobs[FW_BLOBS] = {
2570 { .name = "ql2100_fw.bin", .segs = { 0x1000, 0 }, }, 2576 { .name = FW_FILE_ISP21XX, .segs = { 0x1000, 0 }, },
2571 { .name = "ql2200_fw.bin", .segs = { 0x1000, 0 }, }, 2577 { .name = FW_FILE_ISP22XX, .segs = { 0x1000, 0 }, },
2572 { .name = "ql2300_fw.bin", .segs = { 0x800, 0 }, }, 2578 { .name = FW_FILE_ISP2300, .segs = { 0x800, 0 }, },
2573 { .name = "ql2322_fw.bin", .segs = { 0x800, 0x1c000, 0x1e000, 0 }, }, 2579 { .name = FW_FILE_ISP2322, .segs = { 0x800, 0x1c000, 0x1e000, 0 }, },
2574 { .name = "ql2400_fw.bin", }, 2580 { .name = FW_FILE_ISP24XX, },
2575}; 2581};
2576 2582
2577struct fw_blob * 2583struct fw_blob *
@@ -2702,3 +2708,8 @@ MODULE_AUTHOR("QLogic Corporation");
2702MODULE_DESCRIPTION("QLogic Fibre Channel HBA Driver"); 2708MODULE_DESCRIPTION("QLogic Fibre Channel HBA Driver");
2703MODULE_LICENSE("GPL"); 2709MODULE_LICENSE("GPL");
2704MODULE_VERSION(QLA2XXX_VERSION); 2710MODULE_VERSION(QLA2XXX_VERSION);
2711MODULE_FIRMWARE(FW_FILE_ISP21XX);
2712MODULE_FIRMWARE(FW_FILE_ISP22XX);
2713MODULE_FIRMWARE(FW_FILE_ISP2300);
2714MODULE_FIRMWARE(FW_FILE_ISP2322);
2715MODULE_FIRMWARE(FW_FILE_ISP24XX);