git: 33b5923a9d5a - stable/14 - LinuxKPI: Add the accelerator PCIe class
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Aug 2024 22:27:27 UTC
The branch stable/14 has been updated by wulf:
URL: https://cgit.FreeBSD.org/src/commit/?id=33b5923a9d5af18924e162d062328d65729b86bb
commit 33b5923a9d5af18924e162d062328d65729b86bb
Author: Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2024-04-08 06:47:43 +0000
Commit: Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2024-08-01 21:09:38 +0000
LinuxKPI: Add the accelerator PCIe class
Sponsored by: Serenity Cyber Security, LLC
Reviewed by: emaste
MFC after: 1 week
(cherry picked from commit e8f59f4d31b243a6f296e819a5912ba63789ae32)
---
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. */