git: e8f59f4d31b2 - main - LinuxKPI: Add the accelerator PCIe class

From: Vladimir Kondratyev <wulf_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 06:49:17 UTC
The branch main has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=e8f59f4d31b243a6f296e819a5912ba63789ae32

commit e8f59f4d31b243a6f296e819a5912ba63789ae32
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2024-04-08 06:47:43 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2024-04-08 06:47:43 +0000

    LinuxKPI: Add the accelerator PCIe class
    
    Sponsored by:   Serenity Cyber Security, LLC
    Reviewed by:    emaste
    MFC after:      1 week
---
 sys/compat/linuxkpi/common/include/linux/pci_ids.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/pci_ids.h b/sys/compat/linuxkpi/common/include/linux/pci_ids.h
index b52ecc525db6..2f02d6ad1c14 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci_ids.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci_ids.h
@@ -39,6 +39,8 @@
 #define	PCI_BASE_CLASS_BRIDGE		0x06
 #define	PCI_CLASS_BRIDGE_ISA		0x0601
 
+#define	PCI_CLASS_ACCELERATOR_PROCESSING	0x1200
+
 
 /* XXX We should really generate these and use them throughout the tree. */