diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-03 17:50:35 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-03 17:51:02 -0400 |
commit | 8378d14cc0f4996080e21c84491ba9b8fcb679a4 (patch) | |
tree | ffbf2f0bfa473003ff1b6992fea685a2860f285f /sys/dev/ic/ahci.c | |
parent | 197b0ecd37e8c41015586ee9711c807b9b625b0b (diff) |
kernel: driver: Assign names to all drivers
Assign a name to each driver through the DRIVER_EXPORT() or
DRIVER_DEFER() macros. This can be used for blacklisting driver
startups.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/ic/ahci.c')
-rw-r--r-- | sys/dev/ic/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/ahci.c b/sys/dev/ic/ahci.c index 5dbf4a7..d17c6a3 100644 --- a/sys/dev/ic/ahci.c +++ b/sys/dev/ic/ahci.c @@ -1040,4 +1040,4 @@ static struct bdevsw ahci_bdevsw = { .bsize = ahci_dev_bsize }; -DRIVER_DEFER(ahci_init); +DRIVER_DEFER(ahci_init, "ahci"); |