diff options
author | Mark Haverkamp <markh@osdl.org> | 2006-02-01 12:30:31 -0500 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-04 17:15:56 -0500 |
commit | d8a571135aad527e5984c8094b7977c6914f2550 (patch) | |
tree | 7e3fc04c48cac74eedbdcfb49fd96c2905dab0b9 /drivers | |
parent | 854165f4245c4a3b4a8cc363ba2050033151e196 (diff) |
[SCSI] aacraid: reduce device probe warnings
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 0bf5f9a943e8..45fc171e5f36 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -386,6 +386,10 @@ static int aac_biosparm(struct scsi_device *sdev, struct block_device *bdev, | |||
386 | static int aac_slave_configure(struct scsi_device *sdev) | 386 | static int aac_slave_configure(struct scsi_device *sdev) |
387 | { | 387 | { |
388 | struct Scsi_Host *host = sdev->host; | 388 | struct Scsi_Host *host = sdev->host; |
389 | if (sdev_channel(sdev) == CONTAINER_CHANNEL) { | ||
390 | sdev->skip_ms_page_8 = 1; | ||
391 | sdev->skip_ms_page_3f = 1; | ||
392 | } | ||
389 | 393 | ||
390 | if (sdev->tagged_supported) | 394 | if (sdev->tagged_supported) |
391 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, 128); | 395 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, 128); |