haiku/headers/os/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
..
bus arm64: initialize PCI interrupts from FDT 2022-08-24 09:41:35 +00:00
pcmcia Remove use of config_manager 2022-04-20 15:57:04 +00:00
tty Drop the unused TTY bus_manager. 2022-09-09 17:14:12 -04:00
usb usb_hid: Update HID Consumer usage page constants to 1.3 spec 2022-05-03 19:04:30 +00:00
ACPI.h acpi: add ACPI_DEVICE_UID_ITEM 2020-04-20 14:56:59 +00:00
bios.h Added new BIOS module for calling BIOS interrupts. 2012-08-03 15:42:30 +01:00
bus_manager.h * Rewrote USB_printer.h, and bus_manager.h (the last short ones...) :-) 2009-09-01 18:48:34 +00:00
cpufreq.h kernel: Propagate scheduler modes to cpu{freq, idle} modules 2013-12-17 23:26:37 +01:00
cpuidle.h kernel: Propagate scheduler modes to cpu{freq, idle} modules 2013-12-17 23:26:37 +01:00
device_manager.h device_manager: add find_child_node 2020-04-10 11:25:39 +00:00
disk_device_manager.h add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
dpc.h Made DPC module binary compatible with BeOS one. 2008-02-06 23:10:13 +00:00
driver_settings.h libroot: remove delete_driver_settings 2021-05-31 06:51:45 +00:00
Drivers.h add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
fs_cache.h block_cache: Change signature of *_etc() functions 2020-06-20 18:10:03 +00:00
fs_interface.h Revert "vfs: functions to change a vnode busy status and ID" 2022-03-22 11:38:06 -04:00
interrupt_controller.h
io_requests.h Added public io_request_is_vip(), returning whether the given request has the 2010-07-22 11:08:34 +00:00
ISA.h ISA: fix ram_address() to use phys_addr_t for completeness 2017-11-21 21:44:02 +01:00
isapnp.h Remove use of config_manager 2022-04-20 15:57:04 +00:00
KernelExport.h POSIX: add dprintf 2020-10-04 19:34:40 +00:00
locked_pool.h * More header cleanup, continuing korli's work. 2010-04-13 09:48:02 +00:00
midi_driver.h * Rewrote USB_rle.h, USB_spec.h, and midi_driver.h. I did not reproduce the 2009-09-02 12:04:00 +00:00
mime_table.h
module.h * Added open_module_list_etc() that also allows to specify a required name 2008-04-09 14:36:04 +00:00
PCI_x86.h PCI-x86: merge MSI-X unconfigure and disable with MSI. 2013-07-29 22:48:00 +02:00
PCI.h pci: add set_powerstate and get_powerstate legacy hooks 2022-02-19 08:19:24 +00:00
Select.h * More header cleanup, continuing korli's work. 2010-04-13 09:48:02 +00:00
USB2.h * Switched from the old v2 callback status codes to the new v3 codes 2006-09-24 20:17:56 +00:00
USB3.h USB: Move usb_iso_packet_descriptor to a separate header. 2021-09-02 16:00:17 +00:00
USB_isochronous.h USB: Move usb_iso_packet_descriptor to a separate header. 2021-09-02 16:00:17 +00:00
USB_printer.h * Rewrote USB_printer.h, and bus_manager.h (the last short ones...) :-) 2009-09-01 18:48:34 +00:00
USB_rle.h * Rewrote USB_rle.h, USB_spec.h, and midi_driver.h. I did not reproduce the 2009-09-02 12:04:00 +00:00
USB_spec.h PVS V547: always false conditions 2019-07-17 01:48:25 +00:00
USB.h