mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 15:43:56 +00:00
usb_drv: change Usb session and raw driver
- Use 'label' attribute to identify device instead of bus/dev and vendor_id/product_id - Implement release_interface RPC - Report 'label' as well as 'bus' and 'dev' - Add policy handling to raw driver (includes reconfiguration at runtime) - Use own memory backing store for large DMA allocations Issue #1863.
This commit is contained in:
committed by
Christian Helmuth
parent
3daa8a3d04
commit
716eab21e3
@ -62,7 +62,7 @@ struct Usb::Pl2303_driver : Completion
|
||||
Server::Entrypoint &ep;
|
||||
Server::Signal_rpc_member<Pl2303_driver> dispatcher{ ep, *this, &Pl2303_driver::state_change };
|
||||
Genode::Allocator_avl alloc;
|
||||
Usb::Connection connection{ &alloc, VENDOR, PRODUCT, 512 * 1024, dispatcher };
|
||||
Usb::Connection connection{ &alloc, "usb_serial", 512 * 1024, dispatcher };
|
||||
Usb::Device device;
|
||||
Signal_context_capability connected_sigh;
|
||||
Signal_context_capability read_sigh;
|
||||
|
Reference in New Issue
Block a user