]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
libpci: add some missing PCI_CLASS constants
authorRonan Pigott <ronan@rjp.ie>
Fri, 9 May 2025 05:57:43 +0000 (22:57 -0700)
committerMartin Mareš <mj@ucw.cz>
Sun, 8 Jun 2025 15:10:05 +0000 (17:10 +0200)
The names and values are taken from the pci.ids file.

lib/header.h

index 7c76849898526cc3214f3842a2f906db5477fedb..2229b4c39a2333fcffa56ed109843252dba52ca8 100644 (file)
 #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
 #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
 #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
 #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
 #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
 #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