]> err.no Git - linux-2.6/commit
[SCSI] ServeRAID: prevent seeing DADSI devices
authorJack Hammer <jack_hammer@adaptec.com>
Tue, 31 Jan 2006 18:17:55 +0000 (13:17 -0500)
committerJames Bottomley <jejb@titanic.(none)>
Tue, 31 Jan 2006 20:43:18 +0000 (14:43 -0600)
commita5b3c86e4bfb5689d68932105d3fdd1477c9c281
treeb6de20e32d8bd79399ccb849b88968c16970d880
parent2254c86db124a37057116ad20a8de7b8483b6f44
[SCSI] ServeRAID: prevent seeing DADSI devices

A critical thing the ServeRAID driver MUST do is hide the physical DASDI
devices from the OS. It does this by intercepting the INQUIRY commands.

In recent 2.6.15 testing, I discovered this to be failing.

The cause was the driver assuming that the INQUIRY response data was in a
simple single buffer, when it was actually a 1 element scatter gather list.

This patch makes ips always look at the correct data when examining an
INQUIRY response.

Signed-off-by: Jack Hammer <jack_hammer@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ips.c