Files
tegra-linux-noble/include/linux
Christoph Hellwig f7acede65d libata: fix ata_id_logical_per_physical_sectors
The value we get from the low byte of the ATA_ID_SECTOR_SIZE word is not not
a plain multiple, but the log of it, so fix the helper to give the correct
answer.  Without this we'll get an incorrect minimal I/O size in the block
limits VPD page for 4k sector drives.

Also change the return value of ata_id_logical_per_physical_sectors to u16
for the unlikely case of very large logical sectors.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-02-04 01:01:32 -05:00
..
2010-01-13 09:04:53 +00:00
2009-12-16 07:20:13 -08:00
2010-01-11 14:29:20 +01:00
2009-12-06 21:10:56 +01:00
2009-12-10 23:52:01 +00:00
2009-12-15 08:53:33 -08:00
2009-12-10 15:02:53 +01:00
2009-12-23 13:33:54 +01:00
2010-01-14 09:05:26 -05:00
2010-01-11 14:32:44 +01:00
2009-12-14 23:55:34 +01:00
2009-12-14 21:17:29 +01:00
2009-12-21 11:32:27 -05:00
2009-12-25 17:30:22 -08:00
2010-01-28 22:32:45 -08:00
2009-12-16 06:56:12 -08:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:36 -08:00
2009-12-15 08:53:20 -08:00
2009-12-12 13:08:15 +01:00
2009-12-09 12:12:44 +02:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:20 -08:00
2009-12-16 22:32:29 -05:00
2010-01-14 22:38:09 -05:00
2009-12-15 08:53:16 -08:00
2009-12-25 17:30:22 -08:00
2010-01-16 12:15:38 -08:00
2009-12-16 12:16:49 -05:00