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

Commit 560c26c8 authored by Jack Hammer's avatar Jack Hammer Committed by James Bottomley
Browse files

[SCSI] ips: Mode Sense (Caching Page ) fix



To avoid the "sda: got wrong page" message, the ServeRAID driver
should be setting flags indicating that the Mode Sense commands are
not supported.

Signed-off-by: default avatarJack Hammer <jack_hammer@adaptec.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent ad757cdf
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -1319,6 +1319,9 @@ ips_slave_configure(struct scsi_device * SDptr)
			min = ha->max_cmds - 1;
			min = ha->max_cmds - 1;
		scsi_adjust_queue_depth(SDptr, MSG_ORDERED_TAG, min);
		scsi_adjust_queue_depth(SDptr, MSG_ORDERED_TAG, min);
	}
	}

	SDptr->skip_ms_page_8 = 1;
	SDptr->skip_ms_page_3f = 1;
	return 0;
	return 0;
}
}
#endif
#endif