haiku/headers/private/drivers
Jérôme Duval 688acf41a3 add physical_block_size field where applicable
only scsi_disk checks the actual value, other drivers take the logical block size.

This change reports the physical block size from the disk rather than the block
size used by IDE/SATA/SCSI commands. On typical modern SATA disks, the SATA
commands will use 512 byte blocks, but the disk will actually read and write
4K blocks internally. This is only of importance for partition alignment for DriveSetup,
and is independant of file systems or partitioning systems. This could also influence
the recommended block size for some file systems.

Change-Id: Id0f2e22659e89fcef64c1f8d04f81cd68995e01f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5667
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2022-09-23 06:56:01 +00:00
..
ata_adapter.h Reworked little endian bitfields a bit. 2015-11-10 08:47:48 +01:00
ata_types.h Reworked little endian bitfields a bit. 2015-11-10 08:47:48 +01:00
dvb.h Interface definition of DVB drivers. Currently private API. 2007-04-13 15:52:58 +00:00
ksocket.h Fixed ksocket header as we don't use a socket module anymore. 2008-04-19 23:58:26 +00:00
lendian_bitfield.h Reworked little endian bitfields a bit. 2015-11-10 08:47:48 +01:00
mmc.h Enable some more Werror and fix compiler warnings 2022-04-22 14:25:48 +00:00
poke.h Fixed some bugs, partially by Oscar Lesta. 2005-07-19 17:19:02 +00:00
random.h random: add a Virtio RNG module 2013-08-29 18:47:48 +02:00
scsi_cmds.h Improve SCSI and SATA trim support 2021-07-16 18:35:57 +00:00
scsi_periph.h add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
scsi_sense.h Revert "usb_disk: retry when usb disk not ready" 2013-10-19 22:06:10 +02:00
smbios.h smbios: add module to match SMBios vendor and product 2020-04-27 07:38:40 +00:00
tty.h * Set reasonable terminal flag defaults. This makes telnetd fully usable 2008-04-24 21:26:35 +00:00