lkml.org 
[lkml]   [2017]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] pci: add class codes for processing accelerators
Date
Add PCI codes to include/linux/pci_ids.h for Processing Accelerators. There
are new ASICs (now in development) for Deep Learning that will utilize this
base class.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
---
include/linux/pci_ids.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index ab20dc5..4c210cd 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -139,6 +139,9 @@
#define PCI_CLASS_SP_DPIO 0x1100
#define PCI_CLASS_SP_OTHER 0x1180

+#define PCI_BASE_CLASS_PROCESSING_ACCELERATOR 0x12
+#define PCI_CLASS_PA_VENDOR_SPECIFIC 0x1200
+
#define PCI_CLASS_OTHERS 0xff

/* Vendors and devices. Sort key: vendor first, device next. */
--
2.7.4
\
 
 \ /
  Last update: 2017-11-23 15:05    [W:0.031 / U:3.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site