improved config for USB device drivers

This commit is contained in:
antifallobst 2023-05-29 14:27:08 +02:00
parent 25d7b99ea6
commit 763349e2f4
1 changed files with 15 additions and 11 deletions

View File

@ -160,19 +160,23 @@ If another process calls them, they will just return without doing anything.
| 0x04 * `num_device_ids` | device_ids | An array containing all device ids the driver can handle. (described below) | | 0x04 * `num_device_ids` | device_ids | An array containing all device ids the driver can handle. (described below) |
**header.specific_config.pci.device_id:**
| Length(bytes) | Name | Description |
|---------------|-----------|----------------------------|
| 0x02 | vendor_id | The devices PCI vendor ID. |
| 0x02 | device_id | The devices PCI device ID. |
**header.specific_config.usb:** **header.specific_config.usb:**
| Length(bytes) | Name | Description | | Length(bytes) | Name | Description |
|---------------|-------------|-----------------------------------------| |-------------------------|----------------|-----------------------------------------------------------------------------|
| 0x01 | min_version | The minimum required major USB version. | | 0x01 | min_version | The minimum required major USB version. |
| 0x02 | num_device_ids | The amount of device ids the driver can handle. |
| 0x04 * `num_device_ids` | device_ids | An array containing all device ids the driver can handle. (described below) |
**header.specific_config.device_id:**
| Length(bytes) | Name | Description |
|---------------|-----------|--------------------------------|
| 0x02 | vendor_id | The devices USB/PCI vendor ID. |
| 0x02 | device_id | The devices USB/PCI device ID. |
**header.specific_config.fs:** **header.specific_config.fs:**