The two patches following this add support for drives which have sector
sizes other than 512 bytes. I haven't been able to test this as I don't
have the hardware.
Individual host drivers will have to be updated to support sizes other
than 512 bytes.
Support for logical sector sizes that differ from physical sector sizes
depends on the READ CAPACITY 16 patch I posted in December that isn't in
scsi-misc yet.
The approach I've taken to generating the tables of which commands need
a 512-byte transfer size and which use the drive's sector size command is
'innovative'. Review is encouraged ;-)