From: James Bottomley Date: Sat, 1 Oct 2005 14:38:05 +0000 (-0500) Subject: [SCSI] Legacy MegaRAID: Fix READ CAPACITY X-Git-Tag: v2.6.14-rc4~84^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51c928c34fa7cff38df584ad01de988805877dba;p=pandora-kernel.git [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 --- Reading git-diff-tree failed