Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a324031c authored by Armen Baloyan's avatar Armen Baloyan Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Print proper QLAFX00 product name at probe.

parent 396883e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -11,7 +11,7 @@
 * ----------------------------------------------------------------------
 * ----------------------------------------------------------------------
 * |             Level            |   Last Value Used  |     Holes	|
 * |             Level            |   Last Value Used  |     Holes	|
 * ----------------------------------------------------------------------
 * ----------------------------------------------------------------------
 * | Module Init and Probe        |       0x0159       | 0x4b,0xba,0xfa |
 * | Module Init and Probe        |       0x015a       | 0x4b,0xba,0xfa |
 * | Mailbox commands             |       0x1181       | 0x111a-0x111b  |
 * | Mailbox commands             |       0x1181       | 0x111a-0x111b  |
 * |                              |                    | 0x1155-0x1158  |
 * |                              |                    | 0x1155-0x1158  |
 * |                              |                    | 0x1018-0x1019  |
 * |                              |                    | 0x1018-0x1019  |
+6 −2
Original line number Original line Diff line number Diff line
@@ -2910,6 +2910,10 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)


	qla2x00_dfs_setup(base_vha);
	qla2x00_dfs_setup(base_vha);


	if (IS_QLAFX00(ha))
		ql_log(ql_log_info, base_vha, 0x015a,
		    "QLogic %s.\n", ha->mr.product_name);
	else
		ql_log(ql_log_info, base_vha, 0x00fb,
		ql_log(ql_log_info, base_vha, 0x00fb,
		    "QLogic %s - %s.\n", ha->model_number, ha->model_desc);
		    "QLogic %s - %s.\n", ha->model_number, ha->model_desc);
	ql_log(ql_log_info, base_vha, 0x00fc,
	ql_log(ql_log_info, base_vha, 0x00fc,