1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-14 16:00:59 +00:00
serenity/Kernel/Bus/USB
Hendiadyoin1 f4bfd0468b Kernel/USB: Add a rudimentary interrogation only EHCI driver
This adds a simple EHCI driver that currently only interrogates the
device and checks if all ports are addressable via associated legacy
controllers (companion controllers), and warns if this is not the case.

This also adds a lot of the other data structures needed for actually
driving the controller, but these are currently not hooked up to
anything.

To test this run with `SERENITY_EXTRA_QEMU_ARGS="--device usb-ehci"`
or the q35 machine type
2023-12-28 17:08:34 +01:00
..
Drivers Kernel: Don't register USB devices if USBManagement is not initialized 2023-10-17 11:02:25 -06:00
EHCI Kernel/USB: Add a rudimentary interrogation only EHCI driver 2023-12-28 17:08:34 +01:00
UHCI Kernel/USB: Handle NAK correctly in a transfer status bits 2023-10-15 22:56:30 +02:00
PacketTypes.h Kernel/USB: Move the USB components as a subfolder to the Bus directory 2021-07-02 13:16:12 +02:00
USBClasses.h Kernel/USB: Add a crude USB MassStorage driver :^) 2023-09-29 16:14:47 -06:00
USBConfiguration.cpp Kernel: Avoid some copies during USBInterface enumeration/creation 2023-09-29 16:14:47 -06:00
USBConfiguration.h Kernel/USB: Rename get_interfaces to something more sensible 2022-06-02 13:14:29 +02:00
USBConstants.h Kernel/USB: Add Hubs and the UHCI Root Hub 2021-08-14 21:22:44 +02:00
USBController.cpp Kernel/USB: Make USBControllers pseudo StorageControllers 2023-09-29 16:14:47 -06:00
USBController.h Kernel/USB: Make USBControllers pseudo StorageControllers 2023-09-29 16:14:47 -06:00
USBDescriptors.h Kernel/USB: Add new USBHIDDescriptor type 2022-04-22 15:16:56 +02:00
USBDevice.cpp Kernel/USB: Copy device configurations when copying devices 2023-09-29 16:14:47 -06:00
USBDevice.h Kernel/USB: Detach devices from their driver when they are detached 2023-09-18 11:09:19 -06:00
USBEndpoint.h Kernel: Remove declarations for non-existent methods 2023-01-27 20:33:18 +00:00
USBHub.cpp Kernel/USB: Explicitely copy descriptor.hub_characteristics for printing 2023-09-29 16:14:47 -06:00
USBHub.h Kernel: Remove declarations for non-existent methods 2023-01-27 20:33:18 +00:00
USBInterface.h Kernel: Avoid some copies during USBInterface enumeration/creation 2023-09-29 16:14:47 -06:00
USBManagement.cpp Kernel/USB: Add a rudimentary interrogation only EHCI driver 2023-12-28 17:08:34 +01:00
USBManagement.h Kernel: Don't register USB devices if USBManagement is not initialized 2023-10-17 11:02:25 -06:00
USBPipe.cpp Kernel/USB: Add UKBuffer variants of certain BulkPipe/Transfer functions 2023-09-29 16:14:47 -06:00
USBPipe.h Kernel/USB: Add UKBuffer variants of certain BulkPipe/Transfer functions 2023-09-29 16:14:47 -06:00
USBRequest.h Kernel: Put USB request constants in namespace 2022-04-26 22:56:45 +02:00
USBTransfer.cpp Kernel/USB: Don't invoke async callback if transfer data size is 0 2023-10-15 22:56:30 +02:00
USBTransfer.h Kernel/USB: Add UKBuffer variants of certain BulkPipe/Transfer functions 2023-09-29 16:14:47 -06:00