]> err.no Git - linux-2.6/commitdiff
[SCSI] aacraid: reduce device probe warnings
authorMark Haverkamp <markh@osdl.org>
Wed, 1 Feb 2006 17:30:31 +0000 (09:30 -0800)
committer <jejb@mulgrave.il.steeleye.com> <>
Sat, 4 Feb 2006 22:15:56 +0000 (16:15 -0600)
Received from Mark Salyzyn.

This patch sets up some device quirks surrounding arrays to inform the
scsi layer that various mode pages are not supported. This reduces the
severity of the complaints that show up in the logs as the array devices
are enumerated.

Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/linit.c

index 0bf5f9a943e8a548d779b022246d63348f5c3c77..45fc171e5f361b3434b44aa5853e5a96d5302573 100644 (file)
@@ -386,6 +386,10 @@ static int aac_biosparm(struct scsi_device *sdev, struct block_device *bdev,
 static int aac_slave_configure(struct scsi_device *sdev)
 {
        struct Scsi_Host *host = sdev->host;
+       if (sdev_channel(sdev) == CONTAINER_CHANNEL) {
+               sdev->skip_ms_page_8 = 1;
+               sdev->skip_ms_page_3f = 1;
+       }
 
        if (sdev->tagged_supported)
                scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, 128);