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

Commit d8a57113 authored by Mark Haverkamp's avatar Mark Haverkamp Committed by
Browse files

[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: default avatarMark Haverkamp <markh@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 854165f4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);