improved config for PCI device drivers

This commit is contained in:
antifallobst 2023-05-29 02:28:42 +02:00
parent d82ea1bb5d
commit 25d7b99ea6
1 changed files with 16 additions and 6 deletions

View File

@ -151,11 +151,21 @@ If another process calls them, they will just return without doing anything.
**header.specific_config.pci:** **header.specific_config.pci:**
| Length(bytes) | Name | Description | | Length(bytes) | Name | Description |
|-------------------------|----------------|---------------------------------------------------------------| |-------------------------|----------------|-----------------------------------------------------------------------------|
| 0x02 | num_vendor_ids | The amount of PCI vendor ids the driver can handle. | | 0x01 | enable_progif | If set to zero, the progif entry will be ignored. |
| 0x02 | num_device_ids | The amount of PCI device ids the driver can handle. | | 0x01 | class | The PCI class code, the driver supports. |
| 0x02 * `num_vendor_ids` | vendor_ids | An array containing all PCI vendor ids the driver can handle. | | 0x01 | subclass | The PCI subclass code, the driver supports. |
| 0x02 * `num_device_ids` | device_ids | An array containing all PCI device ids the driver can handle. | | 0x01 | progif | The PCI ProgIF code, the driver supports. |
| 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.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:**