]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/include/spdk/pci_ids.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / include / spdk / pci_ids.h
1 /*-
2 * BSD LICENSE
3 *
4 * Copyright (c) Intel Corporation.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 *
11 * * Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * * Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in
15 * the documentation and/or other materials provided with the
16 * distribution.
17 * * Neither the name of Intel Corporation nor the names of its
18 * contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34 /** \file
35 * PCI device ID list
36 */
37
38 #ifndef SPDK_PCI_IDS
39 #define SPDK_PCI_IDS
40
41 #include "spdk/stdinc.h"
42
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46
47 #define SPDK_PCI_ANY_ID 0xffff
48 #define SPDK_PCI_VID_INTEL 0x8086
49 #define SPDK_PCI_VID_MEMBLAZE 0x1c5f
50 #define SPDK_PCI_VID_SAMSUNG 0x144d
51 #define SPDK_PCI_VID_VIRTUALBOX 0x80ee
52 #define SPDK_PCI_VID_VIRTIO 0x1af4
53 #define SPDK_PCI_VID_CNEXLABS 0x1d1d
54 #define SPDK_PCI_VID_VMWARE 0x15ad
55
56 /**
57 * PCI class code for NVMe devices.
58 *
59 * Base class code 01h: mass storage
60 * Subclass code 08h: non-volatile memory
61 * Programming interface 02h: NVM Express
62 */
63 #define SPDK_PCI_CLASS_NVME 0x010802
64
65 #define PCI_DEVICE_ID_INTEL_IOAT_SNB0 0x3c20
66 #define PCI_DEVICE_ID_INTEL_IOAT_SNB1 0x3c21
67 #define PCI_DEVICE_ID_INTEL_IOAT_SNB2 0x3c22
68 #define PCI_DEVICE_ID_INTEL_IOAT_SNB3 0x3c23
69 #define PCI_DEVICE_ID_INTEL_IOAT_SNB4 0x3c24
70 #define PCI_DEVICE_ID_INTEL_IOAT_SNB5 0x3c25
71 #define PCI_DEVICE_ID_INTEL_IOAT_SNB6 0x3c26
72 #define PCI_DEVICE_ID_INTEL_IOAT_SNB7 0x3c27
73 #define PCI_DEVICE_ID_INTEL_IOAT_SNB8 0x3c2e
74 #define PCI_DEVICE_ID_INTEL_IOAT_SNB9 0x3c2f
75
76 #define PCI_DEVICE_ID_INTEL_IOAT_IVB0 0x0e20
77 #define PCI_DEVICE_ID_INTEL_IOAT_IVB1 0x0e21
78 #define PCI_DEVICE_ID_INTEL_IOAT_IVB2 0x0e22
79 #define PCI_DEVICE_ID_INTEL_IOAT_IVB3 0x0e23
80 #define PCI_DEVICE_ID_INTEL_IOAT_IVB4 0x0e24
81 #define PCI_DEVICE_ID_INTEL_IOAT_IVB5 0x0e25
82 #define PCI_DEVICE_ID_INTEL_IOAT_IVB6 0x0e26
83 #define PCI_DEVICE_ID_INTEL_IOAT_IVB7 0x0e27
84 #define PCI_DEVICE_ID_INTEL_IOAT_IVB8 0x0e2e
85 #define PCI_DEVICE_ID_INTEL_IOAT_IVB9 0x0e2f
86
87 #define PCI_DEVICE_ID_INTEL_IOAT_HSW0 0x2f20
88 #define PCI_DEVICE_ID_INTEL_IOAT_HSW1 0x2f21
89 #define PCI_DEVICE_ID_INTEL_IOAT_HSW2 0x2f22
90 #define PCI_DEVICE_ID_INTEL_IOAT_HSW3 0x2f23
91 #define PCI_DEVICE_ID_INTEL_IOAT_HSW4 0x2f24
92 #define PCI_DEVICE_ID_INTEL_IOAT_HSW5 0x2f25
93 #define PCI_DEVICE_ID_INTEL_IOAT_HSW6 0x2f26
94 #define PCI_DEVICE_ID_INTEL_IOAT_HSW7 0x2f27
95 #define PCI_DEVICE_ID_INTEL_IOAT_HSW8 0x2f2e
96 #define PCI_DEVICE_ID_INTEL_IOAT_HSW9 0x2f2f
97
98 #define PCI_DEVICE_ID_INTEL_IOAT_BWD0 0x0C50
99 #define PCI_DEVICE_ID_INTEL_IOAT_BWD1 0x0C51
100 #define PCI_DEVICE_ID_INTEL_IOAT_BWD2 0x0C52
101 #define PCI_DEVICE_ID_INTEL_IOAT_BWD3 0x0C53
102
103 #define PCI_DEVICE_ID_INTEL_IOAT_BDXDE0 0x6f50
104 #define PCI_DEVICE_ID_INTEL_IOAT_BDXDE1 0x6f51
105 #define PCI_DEVICE_ID_INTEL_IOAT_BDXDE2 0x6f52
106 #define PCI_DEVICE_ID_INTEL_IOAT_BDXDE3 0x6f53
107
108 #define PCI_DEVICE_ID_INTEL_IOAT_BDX0 0x6f20
109 #define PCI_DEVICE_ID_INTEL_IOAT_BDX1 0x6f21
110 #define PCI_DEVICE_ID_INTEL_IOAT_BDX2 0x6f22
111 #define PCI_DEVICE_ID_INTEL_IOAT_BDX3 0x6f23
112 #define PCI_DEVICE_ID_INTEL_IOAT_BDX4 0x6f24
113 #define PCI_DEVICE_ID_INTEL_IOAT_BDX5 0x6f25
114 #define PCI_DEVICE_ID_INTEL_IOAT_BDX6 0x6f26
115 #define PCI_DEVICE_ID_INTEL_IOAT_BDX7 0x6f27
116 #define PCI_DEVICE_ID_INTEL_IOAT_BDX8 0x6f2e
117 #define PCI_DEVICE_ID_INTEL_IOAT_BDX9 0x6f2f
118
119 #define PCI_DEVICE_ID_INTEL_IOAT_SKX 0x2021
120
121 #define PCI_DEVICE_ID_INTEL_IOAT_ICX 0x0b00
122
123 #define PCI_DEVICE_ID_VIRTIO_BLK_MODERN 0x1001
124 #define PCI_DEVICE_ID_VIRTIO_SCSI_MODERN 0x1004
125 #define PCI_DEVICE_ID_VIRTIO_VHOST_USER 0x1017
126
127 #define PCI_DEVICE_ID_INTEL_VMD 0x201d
128
129 #ifdef __cplusplus
130 }
131 #endif
132
133 #endif /* SPDK_PCI_IDS */