haiku/headers/private
Jérôme Duval 8e17b43da6 kernel/device_manager: Implement B_GET_DRIVER_FOR_DEVICE
for legacy and new drivers.

This is an opcode for ioctl that can be used on almost any device entry found in /dev.
When used, ioctl will fill a buffer with the absolute path to the driver file that is
being used by the device.

This opcode was available in BeOS R5, though remained unimplemented in Haiku since
the introduction of the Device Manager almost two decades ago.

Original change by Jacob Secunda.

Change-Id: Ic49141b677b4158a63918459d4048450c825447c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5078
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-10-17 06:13:07 +00:00
..
app BCursor: add a constructor with bitmap and point 2020-10-08 08:23:31 +00:00
audio
binary_compatibility
bluetooth Bluetooth Pref: Inactiveate button and things that don't do anything. 2021-04-10 20:28:43 +00:00
debug
debugger
device acpi_battery: support for _BIX method. 2020-03-10 13:14:09 +00:00
drivers add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
file_systems Introduce a utility function for moving to the next dirent in read_dir. 2022-09-28 16:30:00 -04:00
firewire
fs_shell xfs : version 5 superblock, checksum header file 2022-06-18 08:32:18 +00:00
graphics radeon_hd: from Cedar, memory sizes as bytes only for PALM/SUMO/SUMO2 2022-08-05 12:42:57 +00:00
i2c i2c: add acquire_bus/release_bus hooks 2020-04-12 16:55:52 +00:00
index_server
input Refactor touchpad movement generation by migrating MovementMaker to userland. 2022-07-18 16:00:29 +00:00
interface Removed 'register' storage class compiler warnings 2022-09-12 14:03:28 +00:00
kernel kernel/device_manager: Implement B_GET_DRIVER_FOR_DEVICE 2022-10-17 06:13:07 +00:00
libroot libroot: Replace strftime/strptime/wcsftime implementations with musl's. 2022-08-18 15:31:38 -04:00
locale locale kit: allow creating a catalog without entry_ref 2020-09-01 18:14:57 +00:00
mail
media media_kit: Dynamic allocation of ChunkCache based on media 2021-01-03 20:51:37 +00:00
midi
mount
net net_interface & datalink: Fix MTU handling. 2022-05-27 16:36:12 -04:00
netservices BUrlRequest: reintroduce Pause/Resume API in the deprecated version 2021-08-15 11:47:17 +02:00
notification
package Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
preferences
print Game & Print Kits: Fix GCC 11 warnings. 2021-11-17 18:45:58 -05:00
runtime_loader runtime_loader: dlopen() should respect RPATH of the loading module 2021-03-18 08:19:55 +00:00
screen_saver
shared listusb: generate class code table from usb.ids, and use it 2022-10-10 21:28:37 +00:00
storage Disk Device Manager: checks the raw content_name when editing a partition 2022-09-30 17:10:39 +00:00
support ZstdCompressionAlgorithm: 22 is now "best" in libzstd. 2021-10-26 16:47:50 -04:00
syslog_daemon
system add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
textencoding
tracker Tracker: Use BControlLook::ComposeIconSize. 2022-08-25 16:48:56 -04:00
usb_vision
userlandfs userlandfs: implement get_fs_info using ioctl 2022-09-13 18:51:12 +00:00
virtio virtio: add VIRTIO_FEATURE_ANY_LAYOUT in virtio.h 2022-02-18 21:27:47 +00:00
vmdk
wmi wmi: add ACPI WMI implementation 2020-04-20 14:56:59 +00:00