commit | 51c928c34fa7cff38df584ad01de988805877dba | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@SteelEye.com> | Sat Oct 01 09:38:05 2005 -0500 |
committer | James Bottomley <jejb@mulgrave.(none)> | Mon Oct 03 08:39:48 2005 -0500 |
tree | 7900dfd128a2a40d6c924a38e5d9244e91342205 | |
parent | 97af50f60ff1202b0dd9ce481d4cf98c6a578bec [diff] |
[SCSI] Legacy MegaRAID: Fix READ CAPACITY Some Legacy megaraid cards can't actually cope with the scatter/gather version of the READ CAPACITY command (which is what we now send them since altering all SCSI internal I/O to go via the block layer). Fix this (and a few other broken megaraid driver assumptions) by sending the non-sg version of the command if the sg list only has a single element. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>