From: Ronan Pigott Date: Fri, 9 May 2025 05:57:43 +0000 (-0700) Subject: libpci: add some missing PCI_CLASS constants X-Git-Tag: v3.14.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fef7acc713c4a5b13dd06381f511ff58ecb031f0;p=thirdparty%2Fpciutils.git libpci: add some missing PCI_CLASS constants The names and values are taken from the pci.ids file. --- diff --git a/lib/header.h b/lib/header.h index 7c76849..2229b4c 100644 --- a/lib/header.h +++ b/lib/header.h @@ -1578,6 +1578,8 @@ #define PCI_CLASS_STORAGE_ATA 0x0105 #define PCI_CLASS_STORAGE_SATA 0x0106 #define PCI_CLASS_STORAGE_SAS 0x0107 +#define PCI_CLASS_STORAGE_NVM 0x0108 +#define PCI_CLASS_STORAGE_UFS 0x0109 #define PCI_CLASS_STORAGE_OTHER 0x0180 #define PCI_BASE_CLASS_NETWORK 0x02 @@ -1586,6 +1588,10 @@ #define PCI_CLASS_NETWORK_FDDI 0x0202 #define PCI_CLASS_NETWORK_ATM 0x0203 #define PCI_CLASS_NETWORK_ISDN 0x0204 +#define PCI_CLASS_NETWORK_WORLDFLIP 0x0205 +#define PCI_CLASS_NETWORK_PICMG 0x0206 +#define PCI_CLASS_NETWORK_INFINIBAND 0x0207 +#define PCI_CLASS_NETWORK_FABRIC 0x0208 #define PCI_CLASS_NETWORK_OTHER 0x0280 #define PCI_BASE_CLASS_DISPLAY 0x03 @@ -1625,6 +1631,8 @@ #define PCI_CLASS_COMMUNICATION_PARALLEL 0x0701 #define PCI_CLASS_COMMUNICATION_MSERIAL 0x0702 #define PCI_CLASS_COMMUNICATION_MODEM 0x0703 +#define PCI_CLASS_COMMUNICATION_GPIB 0x0704 +#define PCI_CLASS_COMMUNICATION_SMARTCARD 0x0705 #define PCI_CLASS_COMMUNICATION_OTHER 0x0780 #define PCI_BASE_CLASS_SYSTEM 0x08 @@ -1633,7 +1641,10 @@ #define PCI_CLASS_SYSTEM_TIMER 0x0802 #define PCI_CLASS_SYSTEM_RTC 0x0803 #define PCI_CLASS_SYSTEM_PCI_HOTPLUG 0x0804 +#define PCI_CLASS_SYSTEM_SD_HOST 0x0805 +#define PCI_CLASS_SYSTEM_IOMMU 0x0806 #define PCI_CLASS_SYSTEM_OTHER 0x0880 +#define PCI_CLASS_SYSTEM_TIMING_CARD 0x0899 #define PCI_BASE_CLASS_INPUT 0x09 #define PCI_CLASS_INPUT_KEYBOARD 0x0900 @@ -1664,11 +1675,19 @@ #define PCI_CLASS_SERIAL_FIBER 0x0c04 #define PCI_CLASS_SERIAL_SMBUS 0x0c05 #define PCI_CLASS_SERIAL_INFINIBAND 0x0c06 +#define PCI_CLASS_SERIAL_IPMI 0x0c07 +#define PCI_CLASS_SERIAL_SERCOS 0x0c08 +#define PCI_CLASS_SERIAL_CANBUS 0x0c09 +#define PCI_CLASS_SERIAL_OTHER 0x0c80 #define PCI_BASE_CLASS_WIRELESS 0x0d #define PCI_CLASS_WIRELESS_IRDA 0x0d00 #define PCI_CLASS_WIRELESS_CONSUMER_IR 0x0d01 #define PCI_CLASS_WIRELESS_RF 0x0d10 +#define PCI_CLASS_WIRELESS_BLUETOOTH 0x0d11 +#define PCI_CLASS_WIRELESS_BROADBAND 0x0d12 +#define PCI_CLASS_WIRELESS_80211a 0x0d20 +#define PCI_CLASS_WIRELESS_80211b 0x0d21 #define PCI_CLASS_WIRELESS_OTHER 0x0d80 #define PCI_BASE_CLASS_INTELLIGENT 0x0e @@ -1689,6 +1708,7 @@ #define PCI_CLASS_SIGNAL_DPIO 0x1100 #define PCI_CLASS_SIGNAL_PERF_CTR 0x1101 #define PCI_CLASS_SIGNAL_SYNCHRONIZER 0x1110 +#define PCI_CLASS_SIGNAL_MANAGEMENT 0x1120 #define PCI_CLASS_SIGNAL_OTHER 0x1180 #define PCI_CLASS_OTHERS 0xff