Index: uspace/drv/bus/usb/xhci/commands.c
===================================================================
--- uspace/drv/bus/usb/xhci/commands.c	(revision 7ee5408bd11f143334239615238858be1366ccc8)
+++ uspace/drv/bus/usb/xhci/commands.c	(revision f9e7fe87eac58ec992eeadc6cdb0624c1865a3e9)
@@ -86,4 +86,13 @@
 }
 
+int xhci_handle_command_completion(xhci_hc_t *hc, xhci_trb_t *trb)
+{
+	usb_log_debug2("HC(%p) Command completed.", hc);
+	xhci_dump_trb(trb);
+
+	// TODO: Extract command trb pointer, switch by its type and handle it.
+
+	return EOK;
+}
 
 
Index: uspace/drv/bus/usb/xhci/commands.h
===================================================================
--- uspace/drv/bus/usb/xhci/commands.h	(revision 7ee5408bd11f143334239615238858be1366ccc8)
+++ uspace/drv/bus/usb/xhci/commands.h	(revision f9e7fe87eac58ec992eeadc6cdb0624c1865a3e9)
@@ -38,7 +38,10 @@
 
 typedef struct xhci_hc xhci_hc_t;
+typedef struct xhci_trb xhci_trb_t;
 
 int xhci_send_no_op_command(xhci_hc_t *);
 int xhci_send_enable_slot_command(xhci_hc_t *);
+
+int xhci_handle_command_completion(xhci_hc_t *, xhci_trb_t *);
 
 #endif
