aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/usb
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2019-01-25 14:53:43 +0000
committerMichael Brown <mcb30@ipxe.org>2019-01-25 14:53:43 +0000
commit36a4c85f911c85f5ab183331ff74d125f9a9ed32 (patch)
tree2954c7b32d75848821bd361c40432544e7d4a84a /src/drivers/usb
parentde4565cbe76ea9f7913a01f331be3ee901bb6e17 (diff)
downloadipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.gz
[init] Show startup and shutdown function names in debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/usb')
-rw-r--r--src/drivers/usb/ehci.c1
-rw-r--r--src/drivers/usb/xhci.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/usb/ehci.c b/src/drivers/usb/ehci.c
index 35cbc8de9..cd3967070 100644
--- a/src/drivers/usb/ehci.c
+++ b/src/drivers/usb/ehci.c
@@ -2098,5 +2098,6 @@ static void ehci_shutdown ( int booting ) {
/** Startup/shutdown function */
struct startup_fn ehci_startup __startup_fn ( STARTUP_LATE ) = {
+ .name = "ehci",
.shutdown = ehci_shutdown,
};
diff --git a/src/drivers/usb/xhci.c b/src/drivers/usb/xhci.c
index ecf8bf4d5..e9a7f4c65 100644
--- a/src/drivers/usb/xhci.c
+++ b/src/drivers/usb/xhci.c
@@ -3363,5 +3363,6 @@ static void xhci_shutdown ( int booting ) {
/** Startup/shutdown function */
struct startup_fn xhci_startup __startup_fn ( STARTUP_LATE ) = {
+ .name = "xhci",
.shutdown = xhci_shutdown,
};