]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] ps3rom: sector size should be 512 bytes
authorAegis Lin <aegislin@gmail.com>
Fri, 1 Feb 2008 16:35:13 +0000 (17:35 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 8 Feb 2008 00:02:33 +0000 (18:02 -0600)
commit51883b5e60796cce556370dbc368fd22c60c0e3e
treeeeaa730b06d116d1fffa3ad81f80dd3ac340b330
parent0bb67f181834044db6e9b15c7d5cc3cce0489bfd
[SCSI] ps3rom: sector size should be 512 bytes

It should be desired that 64 KiB is available for ATAPI transferrring.
(Historically) in SCSI/block layer sector size is defined as 512 during
sector-byte calculation.
Originally in ps3rom.c CD_FRAMESIZE (2048) was used, which limited
/sys/block/sr0/queue/max_sectors_kb to 16 KiB (32 sectors).

Signed-off-by: Aegis Lin <aegislin@gmail.com>
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ps3rom.c