From 8378d14cc0f4996080e21c84491ba9b8fcb679a4 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 3 Jul 2025 17:50:35 -0400 Subject: 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 --- sys/dev/phy/e1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/phy/e1000.c') diff --git a/sys/dev/phy/e1000.c b/sys/dev/phy/e1000.c index 95efe6d..41a2a27 100644 --- a/sys/dev/phy/e1000.c +++ b/sys/dev/phy/e1000.c @@ -355,4 +355,4 @@ e1000_init(void) return 0; } -DRIVER_EXPORT(e1000_init); +DRIVER_EXPORT(e1000_init, "e1000"); -- cgit v1.2.3