From 763349e2f438a45c9c0cce1ba6a719d58ed9598e Mon Sep 17 00:00:00 2001 From: antifallobst Date: Mon, 29 May 2023 14:27:08 +0200 Subject: [PATCH] improved config for USB device drivers --- kernel/sysabi.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/kernel/sysabi.md b/kernel/sysabi.md index df58409..946f68a 100644 --- a/kernel/sysabi.md +++ b/kernel/sysabi.md @@ -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) | -**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:** -| Length(bytes) | Name | Description | -|---------------|-------------|-----------------------------------------| -| 0x01 | min_version | The minimum required major USB version. | +| Length(bytes) | Name | Description | +|-------------------------|----------------|-----------------------------------------------------------------------------| +| 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:**