From e2a1fdf9837d1b75fe1f55d1131be96143f48b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 17 Mar 2020 17:57:37 +0100 Subject: [PATCH] PCI: add subclasses for data acquisition Change-Id: Ic4326300e4be0d9dccb4a1c8c50c0118318f62d9 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2386 Reviewed-by: Adrien Destugues Reviewed-by: John Scipione --- headers/os/drivers/PCI.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/headers/os/drivers/PCI.h b/headers/os/drivers/PCI.h index bfa61577e7..569e43cec5 100644 --- a/headers/os/drivers/PCI.h +++ b/headers/os/drivers/PCI.h @@ -298,7 +298,11 @@ struct pci_module_info { #define PCI_intelligent_io 0x0e #define PCI_satellite_communications 0x0f #define PCI_encryption_decryption 0x10 -#define PCI_data_acquisition 0x11 +#define PCI_data_acquisition 0x11 /* data acquisition and + signal processing controllers */ +#define PCI_processing_accelerator 0x12 /* processing accelerators */ +#define PCI_nonessential_function 0x13 /* non-essential instrumentation + function */ #define PCI_undefined 0xFF /* not in any defined class */ @@ -613,6 +617,15 @@ struct pci_module_info { #define PCI_wireless_cellular_ethernet 0x41 #define PCI_wireless_other 0x80 +/* --- + values for the class_sub field for class_base = 0x11 (data acquisition) +--- */ +#define PCI_data_acquisition_dpio 0x00 +#define PCI_data_acquisition_performance_counters 0x01 +#define PCI_data_acquisition_communication_synchroniser 0x10 +#define PCI_data_acquisition_management 0x20 +#define PCI_data_acquisition_other 0x80 + /* --- masks for command register bits --- */