USB: Remove check for UHCI in get_usb_pipe_for_id kdl command.
The bus managers check that the pipe belongs to them in their respective debugger commands.
This commit is contained in:
@@ -31,10 +31,6 @@ debug_get_pipe_for_id(int argc, char **argv)
|
|||||||
if (!object || (object->Type() & USB_OBJECT_PIPE) == 0)
|
if (!object || (object->Type() & USB_OBJECT_PIPE) == 0)
|
||||||
return 3;
|
return 3;
|
||||||
|
|
||||||
// check if we support debug transfers for this pipe (only on UHCI for now)
|
|
||||||
if (object->GetBusManager()->TypeName()[0] != 'u')
|
|
||||||
return 4;
|
|
||||||
|
|
||||||
set_debug_variable("_usbPipe", (uint64)object);
|
set_debug_variable("_usbPipe", (uint64)object);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user