mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
Kernel/USB: Implement test transfer
We can now test a _very_ basic transaction via `do_debug_transfer()`. This function merely attaches some TDs to the LSCTRL queue head and points some input and output buffers. We then sense an interrupt with USBSTS value of 1, meaning Interrupt On Completion (of the transaction). At this point, the input buffer is filled with some data.
This commit is contained in:
parent
3fb7e98e42
commit
6df15aca7e
Notes:
sideshowbarker
2024-07-19 00:00:39 +09:00
Author: https://github.com/Quaker762
Commit: 6df15aca7e
Pull-request: https://github.com/SerenityOS/serenity/pull/4019
Reviewed-by: https://github.com/Lubrsi
Reviewed-by: https://github.com/awesomekling
4 changed files with 95 additions and 7 deletions
|
@ -247,7 +247,6 @@ void init_stage2(void*)
|
|||
}
|
||||
|
||||
USB::UHCIController::detect();
|
||||
USB::UHCIController::the().spawn_port_proc();
|
||||
|
||||
E1000NetworkAdapter::detect();
|
||||
RTL8139NetworkAdapter::detect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue