xref: /freebsd/sys/compat/linuxkpi/common/include/linux/pci_ids.h (revision e1c4c8dd8d2d10b6104f06856a77bd5b4813a801)
1 /*-
2  * Copyright (c) 2010 Isilon Systems, Inc.
3  * Copyright (c) 2010 iX Systems, Inc.
4  * Copyright (c) 2010 Panasas, Inc.
5  * Copyright (c) 2013-2016 Mellanox Technologies, Ltd.
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions
10  * are met:
11  * 1. Redistributions of source code must retain the above copyright
12  *    notice unmodified, this list of conditions, and the following
13  *    disclaimer.
14  * 2. Redistributions in binary form must reproduce the above copyright
15  *    notice, this list of conditions and the following disclaimer in the
16  *    documentation and/or other materials provided with the distribution.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28  */
29 
30 #ifndef	_LINUXKPI_LINUX_PCI_IDS_H
31 #define	_LINUXKPI_LINUX_PCI_IDS_H
32 
33 #define	PCI_CLASS_NETWORK_OTHER		0x0280
34 
35 #define	PCI_BASE_CLASS_DISPLAY		0x03
36 #define	PCI_CLASS_DISPLAY_VGA		0x0300
37 #define	PCI_CLASS_DISPLAY_OTHER		0x0380
38 
39 #define	PCI_BASE_CLASS_BRIDGE		0x06
40 #define	PCI_CLASS_BRIDGE_ISA		0x0601
41 
42 #define	PCI_CLASS_ACCELERATOR_PROCESSING	0x1200
43 
44 
45 /* XXX We should really generate these and use them throughout the tree. */
46 
47 #define	PCI_VENDOR_ID_APPLE		0x106b
48 #define	PCI_VENDOR_ID_ASUSTEK		0x1043
49 #define	PCI_VENDOR_ID_ATHEROS		0x168c
50 #define	PCI_VENDOR_ID_ATI		0x1002
51 #define	PCI_VENDOR_ID_BROADCOM			0x14e4
52 #define	PCI_VENDOR_ID_DELL		0x1028
53 #define	PCI_VENDOR_ID_HP		0x103c
54 #define	PCI_VENDOR_ID_IBM		0x1014
55 #define	PCI_VENDOR_ID_INTEL		0x8086
56 #define	PCI_VENDOR_ID_ITTIM		0x0b48
57 #define	PCI_VENDOR_ID_MEDIATEK		0x14c3
58 #define	PCI_VENDOR_ID_MELLANOX			0x15b3
59 #define	PCI_VENDOR_ID_QCOM		0x17cb
60 #define	PCI_VENDOR_ID_REALTEK			0x10ec
61 #define	PCI_VENDOR_ID_REDHAT_QUMRANET	0x1af4
62 #define	PCI_VENDOR_ID_SERVERWORKS	0x1166
63 #define	PCI_VENDOR_ID_SONY		0x104d
64 #define	PCI_VENDOR_ID_TOPSPIN			0x1867
65 #define	PCI_VENDOR_ID_UBIQUITI			0x0777
66 #define	PCI_VENDOR_ID_VIA		0x1106
67 #define	PCI_SUBVENDOR_ID_REDHAT_QUMRANET	0x1af4
68 #define	PCI_DEVICE_ID_ATI_RADEON_QY	0x5159
69 #define	PCI_DEVICE_ID_MELLANOX_TAVOR		0x5a44
70 #define	PCI_DEVICE_ID_MELLANOX_TAVOR_BRIDGE	0x5a46
71 #define	PCI_DEVICE_ID_MELLANOX_ARBEL_COMPAT	0x6278
72 #define	PCI_DEVICE_ID_MELLANOX_ARBEL		0x6282
73 #define	PCI_DEVICE_ID_MELLANOX_SINAI_OLD	0x5e8c
74 #define	PCI_DEVICE_ID_MELLANOX_SINAI		0x6274
75 #define	PCI_SUBDEVICE_ID_QEMU		0x1100
76 
77 #endif	/* _LINUXKPI_LINUX_PCI_IDS_H */
78