Browse Source

[pci] Remove outdated and mostly-unused pci_ids.h file

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 years ago
parent
commit
06c8a27b74

+ 1
- 0
src/drivers/net/davicom.c View File

@@ -340,6 +340,7 @@ static void davicom_media_chk(struct nic * nic __unused)
340 340
   csr6 = 0x00200000;	/* SF */
341 341
   outl(csr6, ioaddr + CSR6);
342 342
 
343
+#define PCI_VENDOR_ID_DAVICOM		0x1282
343 344
 #define	PCI_DEVICE_ID_DM9009		0x9009
344 345
   if (vendor == PCI_VENDOR_ID_DAVICOM && dev_id == PCI_DEVICE_ID_DM9009) {
345 346
     /* Set to 10BaseT mode for DM9009 */

+ 4
- 0
src/drivers/net/tg3/tg3.h View File

@@ -131,6 +131,10 @@
131 131
 #define PCI_DEVICE_ID_TIGON3_5901_2	0x170e
132 132
 #define PCI_DEVICE_ID_TIGON3_5906	0x1712
133 133
 #define PCI_DEVICE_ID_TIGON3_5906M	0x1713
134
+#define PCI_VENDOR_ID_COMPAQ		0x0e11
135
+#define PCI_VENDOR_ID_IBM		0x1014
136
+#define PCI_VENDOR_ID_DELL		0x1028
137
+#define PCI_VENDOR_ID_3COM		0x10b7
134 138
 /* </pci_ids.h> */
135 139
 
136 140
 #define SPEED_10			10

+ 2
- 0
src/drivers/net/w89c840.c View File

@@ -641,7 +641,9 @@ static int w89c840_probe ( struct nic *nic, struct pci_device *p ) {
641 641
 
642 642
     ioaddr = ioaddr & ~3; /* Mask the bit that says "this is an io addr" */
643 643
 
644
+#define PCI_VENDOR_ID_WINBOND2		0x1050
644 645
 #define PCI_DEVICE_ID_WINBOND2_89C840   0x0840
646
+#define PCI_VENDOR_ID_COMPEX		0x11f6
645 647
 #define PCI_DEVICE_ID_COMPEX_RL100ATX   0x2011
646 648
 
647 649
     /* From Matt Hortman <mbhortman@acpthinclient.com> */

+ 50
- 1
src/include/ipxe/pci.h View File

@@ -22,7 +22,6 @@ FILE_LICENCE ( GPL2_ONLY );
22 22
 #include <ipxe/device.h>
23 23
 #include <ipxe/tables.h>
24 24
 #include <ipxe/pci_io.h>
25
-#include "pci_ids.h"
26 25
 
27 26
 /*
28 27
  * PCI constants
@@ -264,6 +263,56 @@ FILE_LICENCE ( GPL2_ONLY );
264 263
 #define PCI_ERR_COR_MASK	20	/* Correctable Error Mask */
265 264
 	/* Same bits as above */
266 265
 
266
+/* Device classes and subclasses */
267
+
268
+#define PCI_CLASS_NONE			0x00
269
+
270
+#define PCI_CLASS_STORAGE		0x01
271
+
272
+#define PCI_CLASS_NETWORK		0x02
273
+#define PCI_CLASS_NETWORK_ETHERNET	0x00
274
+#define PCI_CLASS_NETWORK_TOKENRING	0x01
275
+#define PCI_CLASS_NETWORK_FDDI		0x02
276
+#define PCI_CLASS_NETWORK_ATM		0x03
277
+#define PCI_CLASS_NETWORK_ISDN		0x04
278
+#define PCI_CLASS_NETWORK_WORLDFIP	0x05
279
+#define PCI_CLASS_NETWORK_PICMG		0x06
280
+
281
+#define PCI_CLASS_DISPLAY		0x03
282
+
283
+#define PCI_CLASS_MEDIA			0x04
284
+
285
+#define PCI_CLASS_MEMORY		0x05
286
+
287
+#define PCI_CLASS_BRIDGE		0x06
288
+
289
+#define PCI_CLASS_COMMS			0x07
290
+
291
+#define PCI_CLASS_GENERIC		0x08
292
+
293
+#define PCI_CLASS_INPUT			0x09
294
+
295
+#define PCI_CLASS_DOCK			0x0a
296
+
297
+#define PCI_CLASS_CPU			0x0b
298
+
299
+#define PCI_CLASS_SERIAL		0x0c
300
+#define PCI_CLASS_SERIAL_USB		0x03
301
+#define PCI_CLASS_SERIAL_USB_UHCI	0x00
302
+#define PCI_CLASS_SERIAL_USB_OHCI	0x10
303
+#define PCI_CLASS_SERIAL_USB_EHCI	0x20
304
+#define PCI_CLASS_SERIAL_USB_XHCI	0x30
305
+
306
+#define PCI_CLASS_WIFI			0x0d
307
+
308
+#define PCI_CLASS_IO			0x0e
309
+
310
+#define PCI_CLASS_SATELLITE		0x0f
311
+
312
+#define PCI_CLASS_CRYPTO		0x10
313
+
314
+#define PCI_CLASS_DATA			0x11
315
+
267 316
 /** A PCI device ID list entry */
268 317
 struct pci_device_id {
269 318
 	/** Name */

+ 0
- 288
src/include/ipxe/pci_ids.h View File

@@ -1,288 +0,0 @@
1
-#ifndef _IPXE_PCI_IDS_H
2
-#define _IPXE_PCI_IDS_H
3
-
4
-/*
5
- *	PCI Class, Vendor and Device IDs
6
- *
7
- *	Please keep sorted.
8
- */
9
-
10
-FILE_LICENCE ( GPL2_ONLY );
11
-
12
-/* Device classes and subclasses */
13
-
14
-#define PCI_CLASS_NONE			0x00
15
-
16
-#define PCI_CLASS_STORAGE		0x01
17
-
18
-#define PCI_CLASS_NETWORK		0x02
19
-#define PCI_CLASS_NETWORK_ETHERNET	0x00
20
-#define PCI_CLASS_NETWORK_TOKENRING	0x01
21
-#define PCI_CLASS_NETWORK_FDDI		0x02
22
-#define PCI_CLASS_NETWORK_ATM		0x03
23
-#define PCI_CLASS_NETWORK_ISDN		0x04
24
-#define PCI_CLASS_NETWORK_WORLDFIP	0x05
25
-#define PCI_CLASS_NETWORK_PICMG		0x06
26
-
27
-#define PCI_CLASS_DISPLAY		0x03
28
-
29
-#define PCI_CLASS_MEDIA			0x04
30
-
31
-#define PCI_CLASS_MEMORY		0x05
32
-
33
-#define PCI_CLASS_BRIDGE		0x06
34
-
35
-#define PCI_CLASS_COMMS			0x07
36
-
37
-#define PCI_CLASS_GENERIC		0x08
38
-
39
-#define PCI_CLASS_INPUT			0x09
40
-
41
-#define PCI_CLASS_DOCK			0x0a
42
-
43
-#define PCI_CLASS_CPU			0x0b
44
-
45
-#define PCI_CLASS_SERIAL		0x0c
46
-#define PCI_CLASS_SERIAL_USB		0x03
47
-#define PCI_CLASS_SERIAL_USB_UHCI	0x00
48
-#define PCI_CLASS_SERIAL_USB_OHCI	0x10
49
-#define PCI_CLASS_SERIAL_USB_EHCI	0x20
50
-#define PCI_CLASS_SERIAL_USB_XHCI	0x30
51
-
52
-#define PCI_CLASS_WIFI			0x0d
53
-
54
-#define PCI_CLASS_IO			0x0e
55
-
56
-#define PCI_CLASS_SATELLITE		0x0f
57
-
58
-#define PCI_CLASS_CRYPTO		0x10
59
-
60
-#define PCI_CLASS_DATA			0x11
61
-
62
-/* Vendors */
63
-
64
-#define PCI_VENDOR_ID_DYNALINK		0x0675
65
-#define PCI_VENDOR_ID_BERKOM			0x0871
66
-#define PCI_VENDOR_ID_COMPAQ		0x0e11
67
-#define PCI_VENDOR_ID_NCR		0x1000
68
-#define PCI_VENDOR_ID_LSI_LOGIC		0x1000
69
-#define PCI_VENDOR_ID_ATI		0x1002
70
-#define PCI_VENDOR_ID_VLSI		0x1004
71
-#define PCI_VENDOR_ID_ADL		0x1005
72
-#define PCI_VENDOR_ID_NS		0x100b
73
-#define PCI_VENDOR_ID_TSENG		0x100c
74
-#define PCI_VENDOR_ID_WEITEK		0x100e
75
-#define PCI_VENDOR_ID_DEC		0x1011
76
-#define PCI_VENDOR_ID_CIRRUS		0x1013
77
-#define PCI_VENDOR_ID_IBM		0x1014
78
-#define PCI_VENDOR_ID_COMPEX2		0x101a
79
-/* pci.ids says "AT&T GIS (NCR)" */
80
-#define PCI_VENDOR_ID_WD		0x101c
81
-#define PCI_VENDOR_ID_AMI		0x101e
82
-#define PCI_VENDOR_ID_AMD		0x1022
83
-#define PCI_VENDOR_ID_TRIDENT		0x1023
84
-#define PCI_VENDOR_ID_AI		0x1025
85
-#define PCI_VENDOR_ID_DELL              0x1028
86
-#define PCI_VENDOR_ID_MATROX		0x102B
87
-#define PCI_VENDOR_ID_CT		0x102c
88
-#define PCI_VENDOR_ID_MIRO		0x1031
89
-#define PCI_VENDOR_ID_NEC		0x1033
90
-#define PCI_VENDOR_ID_FD		0x1036
91
-#define PCI_VENDOR_ID_SIS         	0x1039
92
-#define PCI_VENDOR_ID_SI		0x1039
93
-#define PCI_VENDOR_ID_HP		0x103c
94
-#define PCI_VENDOR_ID_PCTECH		0x1042
95
-#define PCI_VENDOR_ID_ASUSTEK		0x1043
96
-#define PCI_VENDOR_ID_DPT		0x1044
97
-#define PCI_VENDOR_ID_OPTI		0x1045
98
-#define PCI_VENDOR_ID_ELSA		0x1048
99
-#define PCI_VENDOR_ID_ELSA		0x1048
100
-#define PCI_VENDOR_ID_SGS		0x104a
101
-#define PCI_VENDOR_ID_BUSLOGIC		      0x104B
102
-#define PCI_VENDOR_ID_TI		0x104c
103
-#define PCI_VENDOR_ID_SONY		0x104d
104
-#define PCI_VENDOR_ID_OAK		0x104e
105
-/* Winbond have two vendor IDs! See 0x10ad as well */
106
-#define PCI_VENDOR_ID_WINBOND2		0x1050
107
-#define PCI_VENDOR_ID_ANIGMA		0x1051
108
-#define PCI_VENDOR_ID_EFAR		0x1055
109
-#define PCI_VENDOR_ID_MOTOROLA		0x1057
110
-#define PCI_VENDOR_ID_MOTOROLA_OOPS	0x1507
111
-#define PCI_VENDOR_ID_PROMISE		0x105a
112
-#define PCI_VENDOR_ID_N9		0x105d
113
-#define PCI_VENDOR_ID_UMC		0x1060
114
-#define PCI_VENDOR_ID_X			0x1061
115
-#define PCI_VENDOR_ID_MYLEX		0x1069
116
-#define PCI_VENDOR_ID_PICOP		0x1066
117
-#define PCI_VENDOR_ID_APPLE		0x106b
118
-#define PCI_VENDOR_ID_YAMAHA		0x1073
119
-#define PCI_VENDOR_ID_NEXGEN		0x1074
120
-#define PCI_VENDOR_ID_QLOGIC		0x1077
121
-#define PCI_VENDOR_ID_CYRIX		0x1078
122
-#define PCI_VENDOR_ID_LEADTEK		0x107d
123
-#define PCI_VENDOR_ID_INTERPHASE	0x107e
124
-#define PCI_VENDOR_ID_CONTAQ		0x1080
125
-#define PCI_VENDOR_ID_FOREX		0x1083
126
-#define PCI_VENDOR_ID_OLICOM		0x108d
127
-#define PCI_VENDOR_ID_SUN		0x108e
128
-#define PCI_VENDOR_ID_CMD		0x1095
129
-#define PCI_VENDOR_ID_VISION		0x1098
130
-#define PCI_VENDOR_ID_BROOKTREE		0x109e
131
-#define PCI_VENDOR_ID_SIERRA		0x10a8
132
-#define PCI_VENDOR_ID_SGI		0x10a9
133
-#define PCI_VENDOR_ID_ACC		0x10aa
134
-#define PCI_VENDOR_ID_WINBOND		0x10ad
135
-#define PCI_VENDOR_ID_DATABOOK		0x10b3
136
-#define PCI_VENDOR_ID_PLX		0x10b5
137
-#define PCI_VENDOR_ID_MADGE		0x10b6
138
-#define PCI_VENDOR_ID_3COM		0x10b7
139
-#define PCI_VENDOR_ID_SMC		0x10b8
140
-#define PCI_VENDOR_ID_SUNDANCE		0x13F0
141
-#define PCI_VENDOR_ID_AL		0x10b9
142
-#define PCI_VENDOR_ID_MITSUBISHI	0x10ba
143
-#define PCI_VENDOR_ID_SURECOM		0x10bd
144
-#define PCI_VENDOR_ID_NEOMAGIC		0x10c8
145
-#define PCI_VENDOR_ID_ASP		0x10cd
146
-#define PCI_VENDOR_ID_MACRONIX		0x10d9
147
-#define PCI_VENDOR_ID_TCONRAD		0x10da
148
-#define PCI_VENDOR_ID_CERN		0x10dc
149
-#define PCI_VENDOR_ID_NVIDIA			0x10de
150
-#define PCI_VENDOR_ID_IMS		0x10e0
151
-#define PCI_VENDOR_ID_TEKRAM2		0x10e1
152
-#define PCI_VENDOR_ID_TUNDRA		0x10e3
153
-#define PCI_VENDOR_ID_AMCC		0x10e8
154
-#define PCI_VENDOR_ID_INTERG		0x10ea
155
-#define PCI_VENDOR_ID_REALTEK		0x10ec
156
-#define PCI_VENDOR_ID_XILINX		0x10ee
157
-#define PCI_VENDOR_ID_TRUEVISION	0x10fa
158
-#define PCI_VENDOR_ID_INIT		0x1101
159
-#define PCI_VENDOR_ID_CREATIVE		0x1102
160
-/* duplicate: ECTIVA */
161
-#define PCI_VENDOR_ID_ECTIVA		0x1102
162
-/* duplicate: CREATIVE */
163
-#define PCI_VENDOR_ID_TTI		0x1103
164
-#define PCI_VENDOR_ID_VIA		0x1106
165
-#define PCI_VENDOR_ID_VIATEC		0x1106
166
-#define PCI_VENDOR_ID_SIEMENS           0x110A
167
-#define PCI_VENDOR_ID_SMC2		0x1113
168
-#define PCI_VENDOR_ID_VORTEX		0x1119
169
-#define PCI_VENDOR_ID_EF		0x111a
170
-#define PCI_VENDOR_ID_IDT		0x111d
171
-#define PCI_VENDOR_ID_FORE		0x1127
172
-#define PCI_VENDOR_ID_IMAGINGTECH	0x112f
173
-#define PCI_VENDOR_ID_PHILIPS		0x1131
174
-#define PCI_VENDOR_ID_EICON		0x1133
175
-#define PCI_VENDOR_ID_CYCLONE		0x113c
176
-#define PCI_VENDOR_ID_ALLIANCE		0x1142
177
-#define PCI_VENDOR_ID_SYSKONNECT	0x1148
178
-#define PCI_VENDOR_ID_VMIC		0x114a
179
-#define PCI_VENDOR_ID_DIGI		0x114f
180
-#define PCI_VENDOR_ID_MUTECH		0x1159
181
-#define PCI_VENDOR_ID_XIRCOM		0x115d
182
-#define PCI_VENDOR_ID_RENDITION		0x1163
183
-#define PCI_VENDOR_ID_SERVERWORKS	  0x1166
184
-#define PCI_VENDOR_ID_SBE		0x1176
185
-#define PCI_VENDOR_ID_TOSHIBA		0x1179
186
-#define PCI_VENDOR_ID_RICOH		0x1180
187
-#define	PCI_VENDOR_ID_DLINK		0x1186
188
-#define PCI_VENDOR_ID_ARTOP		0x1191
189
-#define PCI_VENDOR_ID_ZEITNET		0x1193
190
-#define PCI_VENDOR_ID_OMEGA		0x119b
191
-#define PCI_VENDOR_ID_FUJITSU_ME	0x119e
192
-#define PCI_SUBVENDOR_ID_KEYSPAN	0x11a9
193
-#define PCI_VENDOR_ID_GALILEO		0x11ab
194
-#define PCI_VENDOR_ID_LINKSYS		0x11ad
195
-#define PCI_VENDOR_ID_LITEON		0x11ad
196
-#define PCI_VENDOR_ID_V3		0x11b0
197
-#define PCI_VENDOR_ID_NP		0x11bc
198
-#define PCI_VENDOR_ID_ATT		0x11c1
199
-#define PCI_VENDOR_ID_SPECIALIX		0x11cb
200
-#define PCI_VENDOR_ID_AURAVISION	0x11d1
201
-#define PCI_VENDOR_ID_ANALOG_DEVICES	0x11d4
202
-#define PCI_VENDOR_ID_IKON		0x11d5
203
-#define PCI_VENDOR_ID_ZORAN		0x11de
204
-#define PCI_VENDOR_ID_KINETIC		0x11f4
205
-#define PCI_VENDOR_ID_COMPEX		0x11f6
206
-#define PCI_VENDOR_ID_RP		0x11fe
207
-#define PCI_VENDOR_ID_CYCLADES		0x120e
208
-#define PCI_VENDOR_ID_ESSENTIAL		0x120f
209
-#define PCI_VENDOR_ID_O2		0x1217
210
-#define PCI_VENDOR_ID_3DFX		0x121a
211
-#define PCI_VENDOR_ID_SIGMADES		0x1236
212
-#define PCI_VENDOR_ID_CCUBE		0x123f
213
-#define PCI_VENDOR_ID_AVM		0x1244
214
-#define PCI_VENDOR_ID_DIPIX		0x1246
215
-#define PCI_VENDOR_ID_STALLION		0x124d
216
-#define PCI_VENDOR_ID_OPTIBASE		0x1255
217
-#define PCI_VENDOR_ID_ESS		0x125d
218
-#define PCI_VENDOR_ID_HARRIS        	0x1260
219
-#define PCI_VENDOR_ID_SATSAGEM		0x1267
220
-#define PCI_VENDOR_ID_HUGHES		0x1273
221
-#define PCI_VENDOR_ID_ENSONIQ		0x1274
222
-#define PCI_VENDOR_ID_ROCKWELL		0x127A
223
-#define PCI_VENDOR_ID_DAVICOM		0x1282
224
-#define PCI_VENDOR_ID_ITE		0x1283
225
-/* formerly Platform Tech */
226
-#define PCI_VENDOR_ID_ESS_OLD		0x1285
227
-#define PCI_VENDOR_ID_ALTEON		0x12ae
228
-#define PCI_VENDOR_ID_USR		0x12B9
229
-#define	PCI_VENDOR_ID_HOLTEK		0x12c3
230
-#define PCI_SUBVENDOR_ID_CONNECT_TECH			0x12c4
231
-#define PCI_VENDOR_ID_PICTUREL		0x12c5
232
-#define PCI_VENDOR_ID_NVIDIA_SGS	0x12d2
233
-#define PCI_SUBVENDOR_ID_CHASE_PCIFAST		0x12E0
234
-#define PCI_SUBVENDOR_ID_CHASE_PCIRAS		0x124D
235
-#define PCI_VENDOR_ID_AUREAL		0x12eb
236
-#define PCI_VENDOR_ID_CBOARDS		0x1307
237
-#define PCI_VENDOR_ID_SIIG		0x131f
238
-#define PCI_VENDOR_ID_ADMTEK            0x1317
239
-#define PCI_VENDOR_ID_DOMEX		0x134a
240
-#define PCI_VENDOR_ID_QUATECH		0x135C
241
-#define PCI_VENDOR_ID_SEALEVEL		0x135e
242
-#define PCI_VENDOR_ID_HYPERCOPE		0x1365
243
-#define PCI_VENDOR_ID_KAWASAKI		0x136b
244
-#define PCI_VENDOR_ID_LMC		0x1376
245
-#define PCI_VENDOR_ID_NETGEAR		0x1385
246
-#define PCI_VENDOR_ID_APPLICOM		0x1389
247
-#define PCI_VENDOR_ID_MOXA		0x1393
248
-#define PCI_VENDOR_ID_CCD		0x1397
249
-#define PCI_VENDOR_ID_MICROGATE		0x13c0
250
-#define PCI_VENDOR_ID_3WARE		0x13C1
251
-#define PCI_VENDOR_ID_ABOCOM		0x13D1
252
-#define PCI_VENDOR_ID_CMEDIA		0x13f6
253
-#define PCI_VENDOR_ID_LAVA		0x1407
254
-#define PCI_VENDOR_ID_TIMEDIA		0x1409
255
-#define PCI_VENDOR_ID_OXSEMI		0x1415
256
-#define PCI_VENDOR_ID_AIRONET		0x14b9
257
-#define PCI_VENDOR_ID_MYRICOM		0x14c1
258
-#define PCI_VENDOR_ID_TITAN		0x14D2
259
-#define PCI_VENDOR_ID_PANACOM		0x14d4
260
-#define PCI_VENDOR_ID_BROADCOM		0x14e4
261
-#define PCI_VENDOR_ID_SYBA		0x1592
262
-#define PCI_VENDOR_ID_MORETON		0x15aa
263
-#define PCI_VENDOR_ID_ZOLTRIX		0x15b0
264
-#define PCI_VENDOR_ID_PDC		0x15e9
265
-#define PCI_VENDOR_ID_FSC		0x1734
266
-#define PCI_VENDOR_ID_SYMPHONY		0x1c1c
267
-#define PCI_VENDOR_ID_TEKRAM		0x1de1
268
-#define PCI_VENDOR_ID_3DLABS		0x3d3d
269
-#define PCI_VENDOR_ID_AVANCE		0x4005
270
-#define PCI_VENDOR_ID_AKS		0x416c
271
-#define PCI_VENDOR_ID_NETVIN		0x4a14
272
-#define PCI_VENDOR_ID_S3		0x5333
273
-#define PCI_VENDOR_ID_DCI		0x6666
274
-#define PCI_VENDOR_ID_GENROCO		0x5555
275
-#define PCI_VENDOR_ID_INTEL		0x8086
276
-#define PCI_VENDOR_ID_COMPUTONE		0x8e0e
277
-#define PCI_SUBVENDOR_ID_COMPUTONE	0x8e0e
278
-#define PCI_VENDOR_ID_KTI		0x8e2e
279
-#define PCI_VENDOR_ID_ADAPTEC		0x9004
280
-#define PCI_VENDOR_ID_ADAPTEC2		0x9005
281
-#define PCI_VENDOR_ID_ATRONICS		0x907f
282
-#define PCI_VENDOR_ID_HOLTEK2		0x9412
283
-#define PCI_VENDOR_ID_NETMOS		0x9710
284
-#define PCI_SUBVENDOR_ID_EXSYS		0xd84d
285
-#define PCI_VENDOR_ID_TIGERJET		0xe159
286
-#define PCI_VENDOR_ID_ARK		0xedd8
287
-
288
-#endif /* _IPXE_PCI_IDS_H */

Loading…
Cancel
Save