improved config for PCI device drivers
This commit is contained in:
parent
d82ea1bb5d
commit
25d7b99ea6
|
@ -150,12 +150,22 @@ If another process calls them, they will just return without doing anything.
|
|||
|
||||
**header.specific_config.pci:**
|
||||
|
||||
| Length(bytes) | Name | Description |
|
||||
|-------------------------|----------------|---------------------------------------------------------------|
|
||||
| 0x02 | num_vendor_ids | The amount of PCI vendor ids the driver can handle. |
|
||||
| 0x02 | num_device_ids | The amount of PCI device ids the driver can handle. |
|
||||
| 0x02 * `num_vendor_ids` | vendor_ids | An array containing all PCI vendor ids the driver can handle. |
|
||||
| 0x02 * `num_device_ids` | device_ids | An array containing all PCI device ids the driver can handle. |
|
||||
| Length(bytes) | Name | Description |
|
||||
|-------------------------|----------------|-----------------------------------------------------------------------------|
|
||||
| 0x01 | enable_progif | If set to zero, the progif entry will be ignored. |
|
||||
| 0x01 | class | The PCI class code, the driver supports. |
|
||||
| 0x01 | subclass | The PCI subclass code, the driver supports. |
|
||||
| 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:**
|
||||
|
|
Loading…
Reference in New Issue