Kernel: Expose usb device's device descriptor
This is used by the joystick detection code but i forgot to commit this :D
This commit is contained in:
parent
fea5d1d82b
commit
ee57cf3e9a
|
|
@ -75,6 +75,7 @@ namespace Kernel
|
|||
|
||||
BAN::ErrorOr<void> initialize();
|
||||
|
||||
const USBDeviceDescriptor& device_descriptor() const { return m_descriptor.descriptor; }
|
||||
const BAN::Vector<ConfigurationDescriptor>& configurations() { return m_descriptor.configurations; }
|
||||
|
||||
virtual BAN::ErrorOr<uint8_t> initialize_device_on_hub_port(uint8_t port_id, USB::SpeedClass) = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue