Received from Mark Salyzyn from Adaptec.

This permits the system log to report the Adapter's branded name rather than
the generic 'AAC' that it currently reports.

Applies to the scsi-misc-2.6 git tree.

Signed-off-by: Mark Haverkamp <[EMAIL PROTECTED]>


Index: scsi-misc-aac-2/drivers/scsi/aacraid/linit.c
===================================================================
--- scsi-misc-aac-2.orig/drivers/scsi/aacraid/linit.c   2005-09-08 
11:32:04.000000000 -0700
+++ scsi-misc-aac-2/drivers/scsi/aacraid/linit.c        2005-09-08 
11:32:27.000000000 -0700
@@ -765,6 +765,7 @@
        
        pci_set_master(pdev);
 
+       aac_driver_template.name = aac_drivers[index].name;
        shost = scsi_host_alloc(&aac_driver_template, sizeof(struct aac_dev));
        if (!shost)
                goto out_disable_pdev;

-- 
Mark Haverkamp <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to