summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h
blob: c58bd507394504f4e8886b0e048c1332f5829a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h,v 1.72 2000/09/13 15:47:31 martin Exp $ */
/*
 * PCI Probe
 *
 * Copyright 1995-2000 by The XFree86 Project, Inc.
 *
 * A lot of this comes from Robin Cutshaw's scanpci
 *
 * Notes -- Jun 6, 2000 -- Kevin Brosius
 * Tips on adding Entries:
 *   scanpci output can contain up to 4 numeric entries, 2 for chip and 2 for card
 *   some generic cards don't have any valid info in the card field,
 *   here's what you do;
 *   - Add a vendor entry for your device if it doesn't already exist.  The
 *     first number of the pair is generally vendor id.  Search for it below
 *     and add a #define for it if it doesn't exist.
 *       ie. 5333 is the vendor id for S3
 *   - Go to xf86PCIVendorNameInfoData[] and add a text name for your vendor id.
 *       ie. PCI_VENDOR_S3 is "S3"
 *   - Add an entry to xf86PCIVendorInfoData[], using the PCI_VENDOR define
 *     you added, and a text description of the chipset.
 *   - If your device has 0000 in the card field,
 *     you've probably got a non-video or generic device.  Stop here.
 *   
 *   - If you have info in the card field, and it's just a duplicate of the chip
 *     info, then either stop, or add a 'generic' entry to xf86PCICardInfoData[].
 *   - If you have different info in the card field, check the first entry,
 *     does the vendor match and/or already exist?  If not, add it.  Then
 *     add an entry describing the card to xf86PCICardInfoData[]
 *   - If you are adding a video card, add a PCI_CHIP #define matching the second
 *     entry in your chip field.  This gets used in your card driver as the PCI id.
 *       ie. under the S3 comment, one entry is: PCI_CHIP_VIRGE 0x5631
 *       
 * Several people recommended http://www.yourvote.com/pci for pci device/vendor info.
 * 
 */

#ifndef _XF86_PCIINFO_H
#define _XF86_PCIINFO_H

#include "xf86str.h"

/* PCI Pseudo Vendor */
#define PCI_VENDOR_GENERIC      0x00FF

#define PCI_VENDOR_REAL3D	0x003D
#define PCI_VENDOR_COMPAQ	0x0E11
#define PCI_VENDOR_NCR_1	0x1000
#define PCI_VENDOR_ATI		0x1002
#define PCI_VENDOR_VLSI		0x1004
#define PCI_VENDOR_AVANCE	0x1005
#define PCI_VENDOR_NS		0x100B
#define PCI_VENDOR_TSENG	0x100C
#define PCI_VENDOR_WEITEK	0x100E
#define PCI_VENDOR_VIDEOLOGIC	0x1010
#define PCI_VENDOR_DIGITAL	0x1011
#define PCI_VENDOR_CIRRUS	0x1013
#define PCI_VENDOR_IBM		0x1014
#define PCI_VENDOR_NCR_2	0x101A
#define PCI_VENDOR_WD		0x101C
#define PCI_VENDOR_AMD		0x1022
#define PCI_VENDOR_TRIDENT	0x1023
#define PCI_VENDOR_ALI		0x1025
#define PCI_VENDOR_MATROX	0x102B
#define PCI_VENDOR_CHIPSTECH	0x102C
#define PCI_VENDOR_MIRO		0x1031
#define PCI_VENDOR_NEC		0x1033
#define PCI_VENDOR_FD		0x1036
#define PCI_VENDOR_SIS		0x1039
#define PCI_VENDOR_HP		0x103C
#define PCI_VENDOR_SMC_PCTECH	0x1042
#define PCI_VENDOR_DPT		0x1044
#define PCI_VENDOR_OPTI		0x1045
#define PCI_VENDOR_ELSA		0x1048
#define PCI_VENDOR_SGS		0x104A
#define PCI_VENDOR_BUSLOGIC	0x104B
#define PCI_VENDOR_TI		0x104C
#define PCI_VENDOR_SONY		0x104D
#define PCI_VENDOR_OAK		0x104E
#define PCI_VENDOR_WINBOND	0x1050
#define PCI_VENDOR_MOTOROLA	0x1057
#define PCI_VENDOR_PROMISE	0x105A
#define PCI_VENDOR_NUMNINE	0x105D
#define PCI_VENDOR_UMC		0x1060
#define PCI_VENDOR_X		0x1061
#define PCI_VENDOR_PICOP	0x1066
#define PCI_VENDOR_MYLEX	0x1069
#define PCI_VENDOR_APPLE	0x106B
#define PCI_VENDOR_YAMAHA	0x1073
#define PCI_VENDOR_NEXGEN	0x1074
#define PCI_VENDOR_QLOGIC	0x1077
#define PCI_VENDOR_CYRIX	0x1078
#define PCI_VENDOR_LEADTEK	0x107D
#define PCI_VENDOR_CONTAQ	0x1080
#define PCI_VENDOR_FOREX	0x1083
#define PCI_VENDOR_OLICOM	0x108D
#define PCI_VENDOR_SUN		0x108E
#define PCI_VENDOR_DIAMOND	0x1092
#define PCI_VENDOR_CMD		0x1095
#define PCI_VENDOR_APPIAN	0x1097
#define PCI_VENDOR_VISION	0x1098
#define PCI_VENDOR_BROOKTREE	0x109E
#define PCI_VENDOR_SIERRA	0x10A8
#define PCI_VENDOR_ACC		0x10AA
#define PCI_VENDOR_WINBOND_2	0x10AB
#define PCI_VENDOR_DATABOOK	0x10B3
#define PCI_VENDOR_3COM		0x10B7
#define PCI_VENDOR_SMC		0x10B8
#define PCI_VENDOR_ALI_2	0x10B9
#define PCI_VENDOR_MITSUBISHI	0x10BA
#define PCI_VENDOR_SURECOM	0x10BD
#define PCI_VENDOR_NEOMAGIC	0x10C8
#define PCI_VENDOR_ASP		0x10CD
#define PCI_VENDOR_CERN		0x10DC
#define PCI_VENDOR_NVIDIA	0x10DE
#define PCI_VENDOR_IMS		0x10E0
#define PCI_VENDOR_TEKRAM	0x10E1
#define PCI_VENDOR_TUNDRA	0x10E3
#define PCI_VENDOR_AMCC		0x10E8
#define PCI_VENDOR_INTEGRAPHICS	0x10EA
#define PCI_VENDOR_REALTEC	0x10EC
#define PCI_VENDOR_TRUEVISION	0x10FA
#define PCI_VENDOR_INITIO	0x1101
#define PCI_VENDOR_CREATIVE_2	0x1102
#define PCI_VENDOR_SIGMADESIGNS_2	0x1105
#define PCI_VENDOR_VIA		0x1106
#define PCI_VENDOR_VORTEX	0x1119
#define PCI_VENDOR_EF		0x111A
#define PCI_VENDOR_FORE		0x1127
#define PCI_VENDOR_IMAGTEC	0x112F
#define PCI_VENDOR_PLX		0x113C
#define PCI_VENDOR_ALLIANCE	0x1142
#define PCI_VENDOR_VMIC		0x114A
#define PCI_VENDOR_DIGI		0x114F
#define PCI_VENDOR_MUTECH	0x1159
#define PCI_VENDOR_RENDITION	0x1163
#define PCI_VENDOR_TOSHIBA	0x1179
#define PCI_VENDOR_RICOH	0x1180
#define PCI_VENDOR_ZEINET	0x1193
#define PCI_VENDOR_LITEON	0x11AD
#define PCI_VENDOR_SPECIALIX	0x11CB
#define PCI_VENDOR_CONTROL	0x11FE
#define PCI_VENDOR_CYCLADES	0x120E
#define PCI_VENDOR_3DFX		0x121A
#define PCI_VENDOR_SIGMADESIGNS	0x1236
#define PCI_VENDOR_SMI		0x126f
#define PCI_VENDOR_ENSONIQ	0x1274
#define PCI_VENDOR_ROCKWELL	0x127A
#define PCI_VENDOR_YOKOGAWA	0x1281
#define PCI_VENDOR_TRITECH	0x1292
#define PCI_VENDOR_NVIDIA_SGS	0x12d2
#define PCI_VENDOR_NETGEAR	0x1385
#define PCI_VENDOR_SYMPHONY	0x1C1C
#define PCI_VENDOR_TEKRAM_2	0x1DE1
#define PCI_VENDOR_3DLABS	0x3D3D
#define PCI_VENDOR_AVANCE_2	0x4005
#define PCI_VENDOR_HERCULES	0x4843
#define PCI_VENDOR_CREATIVE	0x4942
#define PCI_VENDOR_S3		0x5333
#define PCI_VENDOR_INTEL	0x8086
#define PCI_VENDOR_ADAPTEC	0x9004
#define PCI_VENDOR_ADAPTEC_2	0x9005
#define PCI_VENDOR_ATRONICS	0x907F
#define PCI_VENDOR_ARK		0xEDD8


/* Generic */
#define PCI_CHIP_VGA            0x0000
#define PCI_CHIP_8514           0x0001

/* Real 3D */
#define PCI_CHIP_I740_PCI	0x00D1

/* Compaq */
#define PCI_CHIP_QV1280		0x3033
#define PCI_CHIP_SMART		0xAE10
#define PCI_CHIP_NETELL100	0xAE32
#define PCI_CHIP_NETELL10	0xAE34
#define PCI_CHIP_NETFLEX3	0xAE35
#define PCI_CHIP_NETELL100D	0xAE40
#define PCI_CHIP_NETELL100PL	0xAE43
#define PCI_CHIP_NETELL100I	0xB011
#define PCI_CHIP_THUNDERLAN	0xF130
#define PCI_CHIP_NETFLEX3BNC	0xF150

/* NCR */
#define PCI_CHIP_53C810		0x0001
#define PCI_CHIP_53C820		0x0002
#define PCI_CHIP_53C825		0x0003
#define PCI_CHIP_53C815		0x0004
#define PCI_CHIP_53C810AP	0x0005
#define PCI_CHIP_53C860		0x0006
#define PCI_CHIP_53C896		0x000B
#define PCI_CHIP_53C895		0x000C
#define PCI_CHIP_53C885		0x000D
#define PCI_CHIP_53C875		0x000F
#define PCI_CHIP_53C875J	0x008F

/* ATI */
#define PCI_CHIP_MACH32		0x4158
#define PCI_CHIP_MACH64CT	0x4354
#define PCI_CHIP_MACH64CX	0x4358
#define PCI_CHIP_MACH64ET	0x4554
#define PCI_CHIP_MACH64GB	0x4742
#define PCI_CHIP_MACH64GD	0x4744
#define PCI_CHIP_MACH64GI	0x4749
#define PCI_CHIP_MACH64GL	0x474C
#define PCI_CHIP_MACH64GM	0x474D
#define PCI_CHIP_MACH64GN	0x474E
#define PCI_CHIP_MACH64GO	0x474F
#define PCI_CHIP_MACH64GP	0x4750
#define PCI_CHIP_MACH64GQ	0x4751
#define PCI_CHIP_MACH64GR	0x4752
#define PCI_CHIP_MACH64GS	0x4753
#define PCI_CHIP_MACH64GT	0x4754
#define PCI_CHIP_MACH64GU	0x4755
#define PCI_CHIP_MACH64GV	0x4756
#define PCI_CHIP_MACH64GW	0x4757
#define PCI_CHIP_MACH64GX	0x4758
#define PCI_CHIP_MACH64GZ	0x475A
#define PCI_CHIP_MACH64LB	0x4C42
#define PCI_CHIP_MACH64LD	0x4C44
#define PCI_CHIP_RAGE128LE	0x4C45
#define PCI_CHIP_RAGE128LF	0x4C46
#define PCI_CHIP_MACH64LG	0x4C47
#define PCI_CHIP_MACH64LI	0x4C49
#define PCI_CHIP_MACH64LM	0x4C4D
#define PCI_CHIP_MACH64LN	0x4C4E
#define PCI_CHIP_MACH64LP	0x4C50
#define PCI_CHIP_MACH64LR	0x4C52
#define PCI_CHIP_MACH64LS	0x4C53
#define PCI_CHIP_RAGE128MF	0x4D46
#define PCI_CHIP_RAGE128ML	0x4D4C
#define PCI_CHIP_RAGE128PF	0x5046
#define PCI_CHIP_RAGE128PR	0x5052
#define PCI_CHIP_RAGE128RE	0x5245
#define PCI_CHIP_RAGE128RF	0x5246
#define PCI_CHIP_RAGE128RK	0x524B
#define PCI_CHIP_RAGE128RL	0x524C
#define PCI_CHIP_MACH64VT	0x5654
#define PCI_CHIP_MACH64VU	0x5655
#define PCI_CHIP_MACH64VV	0x5656

/* VLSI */
#define PCI_CHIP_82C592_FC1	0x0005
#define PCI_CHIP_82C593_FC1	0x0006
#define PCI_CHIP_82C594_AFC2	0x0007
#define PCI_CHIP_82C597_AFC2	0x0009
#define PCI_CHIP_82C541		0x000C
#define PCI_CHIP_82C543		0x000D
#define PCI_CHIP_VAS96011  	0x0702

/* Avance Logic */
#define PCI_CHIP_ALG2301	0x2301

/* NS */
#define PCI_CHIP_87415		0x0002
#define PCI_CHIP_87410		0xD001

/* Tseng */
#define PCI_CHIP_ET4000_W32P_A	0x3202
#define PCI_CHIP_ET4000_W32P_B	0x3205
#define PCI_CHIP_ET4000_W32P_D	0x3206
#define PCI_CHIP_ET4000_W32P_C	0x3207
#define PCI_CHIP_ET6000		0x3208
#define PCI_CHIP_ET6300		0x4702

/* Weitek */
#define PCI_CHIP_P9000		0x9001
#define PCI_CHIP_P9100		0x9100

/* Digital */
#define PCI_CHIP_DC21050	0x0001
#define PCI_CHIP_DC21040_10	0x0002
#define PCI_CHIP_DEC21030	0x0004
#define PCI_CHIP_DC21040_100	0x0009
#define PCI_CHIP_TGA2    	0x000D
#define PCI_CHIP_DEFPA   	0x000F
#define PCI_CHIP_DC21041    	0x0014
#define PCI_CHIP_DC21142   	0x0019
#define PCI_CHIP_DC21052 	0x0021
#define PCI_CHIP_DC21152 	0x0024

/* Cirrus Logic */
#define PCI_CHIP_GD7548		0x0038
#define PCI_CHIP_GD7555		0x0040
#define PCI_CHIP_GD5430		0x00A0
#define PCI_CHIP_GD5434_4	0x00A4
#define PCI_CHIP_GD5434_8	0x00A8
#define PCI_CHIP_GD5436		0x00AC
#define PCI_CHIP_GD5446         0x00B8
#define PCI_CHIP_GD5480         0x00BC
#define PCI_CHIP_GD5462		0x00D0
#define PCI_CHIP_GD5464		0x00D4
#define PCI_CHIP_GD5464BD	0x00D5
#define PCI_CHIP_GD5465		0x00D6
#define PCI_CHIP_6729		0x1100
#define PCI_CHIP_6832		0x1110
#define PCI_CHIP_GD7542		0x1200
#define PCI_CHIP_GD7543		0x1202
#define PCI_CHIP_GD7541		0x1204

/* IBM */
#define PCI_CHIP_FIRE_CORAL	0x000A
#define PCI_CHIP_TOKEN_RING	0x0018
#define PCI_CHIP_82G2675	0x001D
#define PCI_CHIP_82351		0x0022

/* WD */
#define PCI_CHIP_7197		0x3296

/* AMD */
#define PCI_CHIP_79C970		0x2000
#define PCI_CHIP_53C974		0x2020

/* Trident */
#define PCI_CHIP_8400		0x8400
#define PCI_CHIP_8420		0x8420
#define PCI_CHIP_8500		0x8500
#define PCI_CHIP_8520		0x8520
#define PCI_CHIP_9320		0x9320
#define PCI_CHIP_9388		0x9388
#define PCI_CHIP_9397		0x9397
#define PCI_CHIP_939A		0x939A
#define PCI_CHIP_9420		0x9420
#define PCI_CHIP_9440		0x9440
#define PCI_CHIP_9520		0x9520
#define PCI_CHIP_9525		0x9525
#define PCI_CHIP_9540		0x9540
#define PCI_CHIP_9660		0x9660
#define PCI_CHIP_9750		0x9750
#define PCI_CHIP_9850		0x9850
#define PCI_CHIP_9880		0x9880

/* ALI */
#define PCI_CHIP_M1435		0x1435

/* Matrox */
#define PCI_CHIP_MGA2085	0x0518
#define PCI_CHIP_MGA2064	0x0519
#define PCI_CHIP_MGA1064	0x051a
#define PCI_CHIP_MGA2164	0x051b
#define PCI_CHIP_MGA2164_AGP	0x051f
#define PCI_CHIP_MGAG200_PCI	0x0520
#define PCI_CHIP_MGAG200	0x0521
#define PCI_CHIP_MGAG400	0x0525
#define PCI_CHIP_IMPRESSION	0x0D10
#define PCI_CHIP_MGAG100_PCI	0x1000
#define PCI_CHIP_MGAG100	0x1001

#define PCI_CARD_MILL_G200_SD	0xff00
#define PCI_CARD_PROD_G100_SD	0xff01
#define PCI_CARD_MYST_G200_SD	0xff02
#define PCI_CARD_MILL_G200_SG	0xff03
#define PCI_CARD_MARV_G200_SD	0xff04

/* Chips & Tech */
#define PCI_CHIP_65545		0x00D8
#define PCI_CHIP_65548		0x00DC
#define PCI_CHIP_65550		0x00E0
#define PCI_CHIP_65554		0x00E4
#define PCI_CHIP_65555		0x00E5
#define PCI_CHIP_68554		0x00F4
#define PCI_CHIP_69000		0x00C0
#define PCI_CHIP_69030		0x0C30

/* Miro */
#define PCI_CHIP_ZR36050	0x5601

/* NEC */
#define PCI_CHIP_POWER_VR	0x0046

/* FD */
#define PCI_CHIP_TMC_18C30	0x0000

/* SiS */
#define PCI_CHIP_SG86C201	0x0001
#define PCI_CHIP_SG86C202	0x0002
#define PCI_CHIP_SG85C503	0x0008
#define PCI_CHIP_SIS5597	0x0200
#define PCI_CHIP_SG86C205	0x0205
#define PCI_CHIP_SG86C215	0x0215
#define PCI_CHIP_SG86C225	0x0225
#define PCI_CHIP_85C501		0x0406
#define PCI_CHIP_85C496		0x0496
#define PCI_CHIP_85C601		0x0601
#define PCI_CHIP_85C5107	0x5107
#define PCI_CHIP_85C5511	0x5511
#define PCI_CHIP_85C5513	0x5513
#define PCI_CHIP_SIS5571	0x5571
#define PCI_CHIP_SIS5597_2	0x5597
#define PCI_CHIP_SIS530		0x6306
#define PCI_CHIP_SIS6326	0x6326
#define PCI_CHIP_SIS7001	0x7001
#define PCI_CHIP_SIS300		0x0300
#define PCI_CHIP_SIS630		0x6300
#define PCI_CHIP_SIS540		0x5300

/* HP */
#define PCI_CHIP_J2585A		0x1030
#define PCI_CHIP_J2585B		0x1031

/* SMC/PCTECH */
#define PCI_CHIP_RZ1000		0x1000
#define PCI_CHIP_RZ1001		0x1001

/* DPT */
#define PCI_CHIP_SMART_CACHE	0xA400

/* Opti */
#define PCI_CHIP_92C178		0xC178
#define PCI_CHIP_82C557		0xC557
#define PCI_CHIP_82C558		0xC558
#define PCI_CHIP_82C621		0xC621
#define PCI_CHIP_82C700		0xC700
#define PCI_CHIP_82C701		0xC701
#define PCI_CHIP_82C814		0xC814
#define PCI_CHIP_82C822		0xC822

/* SGS */
#define PCI_CHIP_STG2000	0x0008
#define PCI_CHIP_STG1764	0x0009

/* BusLogic */
#define PCI_CHIP_946C_01	0x0140
#define PCI_CHIP_946C_10	0x1040
#define PCI_CHIP_FLASH_POINT	0x8130

/* Texas Instruments */
#define PCI_CHIP_TI_PERMEDIA	0x3d04
#define PCI_CHIP_TI_PERMEDIA2	0x3d07
#define PCI_CHIP_PCI_1130	0xAC12
#define PCI_CHIP_PCI_1131	0xAC15

/* Oak */
#define PCI_CHIP_OTI107		0x0107

/* Winbond */
#define PCI_CHIP_89C940		0x0940

/* Motorola */
#define PCI_CHIP_MPC105_EAGLE	0x0001
#define PCI_CHIP_MPC105_GRACKLE	0x0002
#define PCI_CHIP_RAVEN	 	0x4801

/* Promise */
#define PCI_CHIP_ULTRA_DMA	0x4D33
#define PCI_CHIP_DC5030		0x5300

/* Number Nine */
#define PCI_CHIP_I128		0x2309
#define PCI_CHIP_I128_2		0x2339
#define PCI_CHIP_I128_T2R	0x493D
#define PCI_CHIP_I128_T2R4	0x5348

/* BrookTree */
#define PCI_CHIP_BT848		0x0350
#define PCI_CHIP_BT849		0x0351

/* NVIDIA */
#define PCI_CHIP_NV1		0x0008
#define PCI_CHIP_DAC64		0x0009
#define PCI_CHIP_TNT		0x0020
#define PCI_CHIP_TNT2		0x0028
#define PCI_CHIP_UTNT2		0x0029
#define PCI_CHIP_VTNT2		0x002C
#define PCI_CHIP_UVTNT2		0x002D
#define PCI_CHIP_ITNT2		0x00A0
#define PCI_CHIP_GEFORCE256     0x0100
#define PCI_CHIP_GEFORCEDDR     0x0101
#define PCI_CHIP_QUADRO         0x0103
#define PCI_CHIP_GEFORCE2MX     0x0110
#define PCI_CHIP_GEFORCE2MXDDR  0x0111
#define PCI_CHIP_QUADRO2MXR     0x0113
#define PCI_CHIP_GEFORCE2GTS    0x0150
#define PCI_CHIP_GEFORCE2GTS_1  0x0151
#define PCI_CHIP_GEFORCE2ULTRA  0x0152
#define PCI_CHIP_QUADRO2PRO     0x0153

/* NVIDIA & SGS */
#define PCI_CHIP_RIVA128	0x0018

/* Alliance Semiconductor */
#define PCI_CHIP_AP6410		0x3210
#define PCI_CHIP_AP6422		0x6422
#define PCI_CHIP_AT24		0x6424
#define PCI_CHIP_AT3D		0x643D

/* 3Dfx Interactive */
#define PCI_CHIP_VOODOO_GRAPHICS 0x0001
#define PCI_CHIP_VOODOO2	0x0002
#define PCI_CHIP_BANSHEE	0x0003
#define PCI_CHIP_VOODOO3	0x0005
#define PCI_CHIP_VOODOO5	0x0009

/* Rendition */
#define PCI_CHIP_V1000		0x0001
#define PCI_CHIP_V2x00		0x2000

/* 3Dlabs */
#define PCI_CHIP_300SX		0x0001
#define PCI_CHIP_500TX		0x0002
#define PCI_CHIP_DELTA		0x0003
#define PCI_CHIP_PERMEDIA	0x0004
#define PCI_CHIP_MX		0x0006
#define PCI_CHIP_PERMEDIA2	0x0007
#define PCI_CHIP_GAMMA		0x0008
#define PCI_CHIP_PERMEDIA2V	0x0009
#define PCI_CHIP_PERMEDIA3	0x000A

/* S3 */
#define PCI_CHIP_PLATO		0x0551
#define PCI_CHIP_VIRGE		0x5631
#define PCI_CHIP_TRIO		0x8811
#define PCI_CHIP_AURORA64VP	0x8812
#define PCI_CHIP_TRIO64UVP	0x8814
#define PCI_CHIP_VIRGE_VX	0x883D
#define PCI_CHIP_868		0x8880
#define PCI_CHIP_928		0x88B0
#define PCI_CHIP_864_0		0x88C0
#define PCI_CHIP_864_1		0x88C1
#define PCI_CHIP_964_0		0x88D0
#define PCI_CHIP_964_1		0x88D1
#define PCI_CHIP_968		0x88F0
#define PCI_CHIP_TRIO64V2_DXGX	0x8901
#define PCI_CHIP_PLATO_PX	0x8902
#define PCI_CHIP_Trio3D		0x8904
#define PCI_CHIP_Trio3D_2X	0x8A13
#define PCI_CHIP_VIRGE_DXGX	0x8A01
#define PCI_CHIP_VIRGE_GX2	0x8A10
#define PCI_CHIP_Savage3D	0x8A20
#define PCI_CHIP_Savage3D_MV	0x8A21
#define PCI_CHIP_Savage4	0x8A22
#define PCI_CHIP_Savage2000	0x9102
#define PCI_CHIP_VIRGE_MX	0x8C01
#define PCI_CHIP_VIRGE_MXPLUS	0x8C01
#define PCI_CHIP_VIRGE_MXP	0x8C03

/* ARK Logic */
#define PCI_CHIP_1000PV		0xA091
#define PCI_CHIP_2000PV		0xA099
#define PCI_CHIP_2000MT		0xA0A1
#define PCI_CHIP_2000MI		0xA0A9

/* Tritech Microelectronics */
#define PCI_CHIP_TR25202	0xfc02

/* Neomagic */
#define PCI_CHIP_NM2070		0x0001
#define PCI_CHIP_NM2090		0x0002
#define PCI_CHIP_NM2093	        0x0003
#define PCI_CHIP_NM2097	        0x0083
#define PCI_CHIP_NM2160		0x0004
#define PCI_CHIP_NM2200		0x0005
#define PCI_CHIP_NM2230		0x0025
#define PCI_CHIP_NM2360		0x0006
#define PCI_CHIP_NM2380		0x0016

/* Intel */
#define PCI_CHIP_I815_BRIDGE		0x1130
#define PCI_CHIP_I815			0x1132
#define PCI_CHIP_I810_BRIDGE		0x7120
#define PCI_CHIP_I810			0x7121
#define PCI_CHIP_I810_DC100_BRIDGE	0x7122
#define PCI_CHIP_I810_DC100		0x7123
#define PCI_CHIP_I810_E_BRIDGE		0x7124
#define PCI_CHIP_I810_E			0x7125
#define PCI_CHIP_I740_AGP		0x7800

/* Silicon Motion Inc. */
#define PCI_CHIP_SMI910		0x910
#define PCI_CHIP_SMI810		0x810
#define PCI_CHIP_SMI820		0x820
#define PCI_CHIP_SMI710		0x710
#define PCI_CHIP_SMI712		0x712
#define PCI_CHIP_SMI720		0x720

/*
 * first the VendorId - VendorName mapping
 */
extern SymTabPtr xf86PCIVendorNameInfo;

#ifdef INIT_PCI_VENDOR_NAME_INFO
static SymTabRec xf86PCIVendorNameInfoData[] = {
    {PCI_VENDOR_REAL3D, "Real 3D"},
    {PCI_VENDOR_COMPAQ, "Compaq"},
    {PCI_VENDOR_NCR_1,	"NCR"},
    {PCI_VENDOR_ATI,	"ATI"},
    {PCI_VENDOR_VLSI, "VLSI"},
    {PCI_VENDOR_AVANCE,	"Avance Logic"},
    {PCI_VENDOR_NS, "NS"},
    {PCI_VENDOR_TSENG,	"Tseng Labs"},
    {PCI_VENDOR_WEITEK,	"Weitek"},
    {PCI_VENDOR_VIDEOLOGIC,	"Video Logic"},
    {PCI_VENDOR_DIGITAL, "Digital"},
    {PCI_VENDOR_CIRRUS,	"Cirrus Logic"},
    {PCI_VENDOR_IBM, "IBM"},
    {PCI_VENDOR_NCR_2,	"NCR"},
    {PCI_VENDOR_WD, "WD*"},
    {PCI_VENDOR_AMD, "AMD"},
    {PCI_VENDOR_TRIDENT, "Trident"},
    {PCI_VENDOR_ALI, "ALI"},
    {PCI_VENDOR_MATROX,	"Matrox"},
    {PCI_VENDOR_CHIPSTECH, "C&T"},
    {PCI_VENDOR_MIRO, "Miro"},
    {PCI_VENDOR_NEC, "NEC"},
    {PCI_VENDOR_FD, "FD"},
    {PCI_VENDOR_SIS,	"SiS"},
    {PCI_VENDOR_HP, "HP"},
    {PCI_VENDOR_SMC_PCTECH, "SMC/PCTECH"},
    {PCI_VENDOR_DPT, "DPT"},
    {PCI_VENDOR_SGS,	"SGS-Thomson"},
    {PCI_VENDOR_BUSLOGIC, "BusLogic"},
    {PCI_VENDOR_TI,	"Texas Instruments"},
    {PCI_VENDOR_SONY, "Sony"},
    {PCI_VENDOR_OAK,	"Oak"},
    {PCI_VENDOR_WINBOND,"Winbond"},
    {PCI_VENDOR_MOTOROLA, "Motorola"},
    {PCI_VENDOR_OAK,	"Promise"},
    {PCI_VENDOR_NUMNINE, "Number Nine"},
    {PCI_VENDOR_UMC,	"UMC"},
    {PCI_VENDOR_X , "X"},
    {PCI_VENDOR_PICOP , "PICOP"},
    {PCI_VENDOR_MYLEX, "Mylex"},
    {PCI_VENDOR_APPLE, "Apple"},
    {PCI_VENDOR_NEXGEN, "Nexgen"},
    {PCI_VENDOR_QLOGIC, "QLogic"},
    {PCI_VENDOR_CYRIX, "Cyrix"},
    {PCI_VENDOR_LEADTEK, "Leadtek"},
    {PCI_VENDOR_CONTAQ, "Contaq"},
    {PCI_VENDOR_FOREX, "FOREX"},
    {PCI_VENDOR_OLICOM, "Olicom"},
    {PCI_VENDOR_SUN, "Sun"},
    {PCI_VENDOR_DIAMOND, "Diamond"},
    {PCI_VENDOR_CMD, "CMD"},
    {PCI_VENDOR_APPIAN, "Appian Graphics"},
    {PCI_VENDOR_VISION, "Vision"},
    {PCI_VENDOR_BROOKTREE,	"BrookTree"},
    {PCI_VENDOR_SIERRA, "Sierra"},
    {PCI_VENDOR_ACC, "ACC"},
    {PCI_VENDOR_WINBOND_2, "Winbond"},
    {PCI_VENDOR_DATABOOK, "Databook"},
    {PCI_VENDOR_3COM, "3COM"},
    {PCI_VENDOR_SMC, "SMC"},
    {PCI_VENDOR_ALI_2, "ALI"},
    {PCI_VENDOR_MITSUBISHI, "Mitsubishi"},
    {PCI_VENDOR_SURECOM, "Surecom"},
    {PCI_VENDOR_NEOMAGIC,	"Neomagic"},
    {PCI_VENDOR_ASP, "Advanced System Products"},
    {PCI_VENDOR_CERN, "CERN"},
    {PCI_VENDOR_NVIDIA,	"NVidia"},
    {PCI_VENDOR_IMS, "IMS"},
    {PCI_VENDOR_TEKRAM, "Tekram"},
    {PCI_VENDOR_TUNDRA, "Tundra"},
    {PCI_VENDOR_AMCC, "AMCC"},
    {PCI_VENDOR_INTEGRAPHICS, "Intergraphics"},
    {PCI_VENDOR_REALTEC, "Realtek"},
    {PCI_VENDOR_TRUEVISION, "Truevision"},
    {PCI_VENDOR_INITIO, "Initio Corp"},
    {PCI_VENDOR_CREATIVE_2, "Creative Labs"},
    {PCI_VENDOR_SIGMADESIGNS_2, "Sigma Designs"},
    {PCI_VENDOR_VIA, "VIA"},
    {PCI_VENDOR_VORTEX, "Vortex"},
    {PCI_VENDOR_EF, "EF"},
    {PCI_VENDOR_FORE, "Fore Systems"},
    {PCI_VENDOR_IMAGTEC, "Imaging Technology"},
    {PCI_VENDOR_PLX, "PLX"},
    {PCI_VENDOR_NVIDIA_SGS,	"NVidia/SGS-Thomson"},
    {PCI_VENDOR_NETGEAR,	"Netgear"},
    {PCI_VENDOR_ALLIANCE, "Alliance Semiconductor"},
    {PCI_VENDOR_VMIC, "VMIC"},
    {PCI_VENDOR_DIGI, "DIGI*"},
    {PCI_VENDOR_MUTECH, "Mutech"},
    {PCI_VENDOR_RENDITION, "Rendition"},
    {PCI_VENDOR_TOSHIBA, "Toshiba"},
    {PCI_VENDOR_RICOH,	"Ricoh"},
    {PCI_VENDOR_ZEINET,	"Zeinet"},
    {PCI_VENDOR_LITEON,	"Lite-On"},
    {PCI_VENDOR_3DFX,	"3Dfx Interactive"},
    {PCI_VENDOR_SIGMADESIGNS, "Sigma Designs"},
    {PCI_VENDOR_ENSONIQ, "Ensoniq"},
    {PCI_VENDOR_ROCKWELL, "Rockwell"},
    {PCI_VENDOR_YOKOGAWA, "YOKOGAWA"},
    {PCI_VENDOR_TRITECH,	"Tritech Microelectronics"},
    {PCI_VENDOR_SYMPHONY, "Symphony"},
    {PCI_VENDOR_TEKRAM_2, "Tekram"},
    {PCI_VENDOR_3DLABS, "3Dlabs"},
    {PCI_VENDOR_AVANCE_2, "Avance"},
    {PCI_VENDOR_CREATIVE, "Creative Labs"},
    {PCI_VENDOR_S3,	"S3"},
    {PCI_VENDOR_INTEL,	"Intel"},
    {PCI_VENDOR_ADAPTEC, "Adaptec"},
    {PCI_VENDOR_ADAPTEC_2, "Adaptec"},
    {PCI_VENDOR_ATRONICS, "Atronics"},
    {PCI_VENDOR_ARK,	"ARK Logic"},
    {PCI_VENDOR_YAMAHA, "Yamaha"},
    {PCI_VENDOR_SMI,	"Silicon Motion Inc."},
    {0,NULL}
};
#endif

/* Increase this as required */
#define MAX_DEV_PER_VENDOR 64

typedef struct {
    unsigned short VendorID;
    struct pciDevice {
	unsigned short DeviceID;
	char *DeviceName;
	CARD16 class;
    } Device[MAX_DEV_PER_VENDOR];
} pciVendorDeviceInfo;

extern pciVendorDeviceInfo* xf86PCIVendorInfo;

#ifdef INIT_PCI_VENDOR_INFO
static pciVendorDeviceInfo xf86PCIVendorInfoData[] = {
    {PCI_VENDOR_REAL3D, {
				{PCI_CHIP_I740_PCI, 	"i740 (PCI)",0},
				{0x0000,		NULL,0}}},

#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_COMPAQ, {
				{0x3033, 	"QVision 1280/p",0 },
				{0xae10, 	"Smart-2/P RAID Controller",0},
				{0xae32, 	"Netellignet 10/100",0 },
				{0xae34, 	"Netellignet 10",0 },
				{0xae35, 	"NetFlex 3",0 },
				{0xae40, 	"Netellignet 10/100 Dual",0 },
				{0xae43, 	"Netellignet 10/100 ProLiant",0 },
				{0xb011, 	"Netellignet 10/100 Integrated",0 },
				{0xf130, 	"ThunderLAN",0 },
				{0xf150, 	"NetFlex 3 BNC",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_NCR_1,	{
				{PCI_CHIP_53C810,	"53c810",0},
				{PCI_CHIP_53C820,	"53c820",0},
				{PCI_CHIP_53C825,	"53c825",0},
				{PCI_CHIP_53C815,	"53c815",0},
				{PCI_CHIP_53C810AP,	"53c810AP",0},
				{PCI_CHIP_53C860,	"53c860",0},
				{PCI_CHIP_53C896,	"53c896",0},
				{PCI_CHIP_53C895,	"53c895",0},
				{PCI_CHIP_53C885,	"53c885",0},
				{PCI_CHIP_53C875,	"53c875",0},
				{PCI_CHIP_53C875J,	"53c875J",0},
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_ATI,	{
				{PCI_CHIP_MACH32,	"Mach32",0},
				{PCI_CHIP_MACH64CT,	"Mach64 CT",0},
				{PCI_CHIP_MACH64CX,	"Mach64 CX",0},
				{PCI_CHIP_MACH64ET,	"Mach64 ET",0},
				{PCI_CHIP_MACH64GB,	"Mach64 GB",0},
				{PCI_CHIP_MACH64GD,	"Mach64 GD",0},
				{PCI_CHIP_MACH64GI,	"Mach64 GI",0},
				{PCI_CHIP_MACH64GL,	"Mach64 GL",0},
				{PCI_CHIP_MACH64GM,	"Mach64 GM",0},
				{PCI_CHIP_MACH64GN,	"Mach64 GN",0},
				{PCI_CHIP_MACH64GO,	"Mach64 GO",0},
				{PCI_CHIP_MACH64GP,	"Mach64 GP",0},
				{PCI_CHIP_MACH64GQ,	"Mach64 GQ",0},
				{PCI_CHIP_MACH64GR,	"Mach64 GR",0},
				{PCI_CHIP_MACH64GS,	"Mach64 GS",0},
				{PCI_CHIP_MACH64GT,	"Mach64 GT",0},
				{PCI_CHIP_MACH64GU,	"Mach64 GU",0},
				{PCI_CHIP_MACH64GV,	"Mach64 GV",0},
				{PCI_CHIP_MACH64GW,	"Mach64 GW",0},
				{PCI_CHIP_MACH64GX,	"Mach64 GX",0},
				{PCI_CHIP_MACH64GZ,	"Mach64 GZ",0},
				{PCI_CHIP_MACH64LB,	"Mach64 LB",0},
				{PCI_CHIP_MACH64LD,	"Mach64 LD",0},
				{PCI_CHIP_RAGE128LE,	"Rage 128 Mobility LE",0},
				{PCI_CHIP_RAGE128LF,	"Rage 128 Mobility LF",0},
				{PCI_CHIP_MACH64LG,	"Mach64 LG",0},
				{PCI_CHIP_MACH64LI,	"Mach64 LI",0},
				{PCI_CHIP_MACH64LM,	"Mach64 LM",0},
				{PCI_CHIP_MACH64LN,	"Mach64 LN",0},
				{PCI_CHIP_MACH64LP,	"Mach64 LP",0},
				{PCI_CHIP_MACH64LR,	"Mach64 LR",0},
				{PCI_CHIP_MACH64LS,	"Mach64 LS",0},
				{PCI_CHIP_RAGE128MF,	"Rage 128 Mobility MF",0},
				{PCI_CHIP_RAGE128ML,	"Rage 128 Mobility ML",0},
				{PCI_CHIP_RAGE128PF,	"Rage 128 Pro PF",0},
				{PCI_CHIP_RAGE128PR,	"Rage 128 Pro PR",0},
				{PCI_CHIP_RAGE128RE,	"Rage 128 RE",0},
				{PCI_CHIP_RAGE128RF,	"Rage 128 RF",0},
				{PCI_CHIP_RAGE128RK,	"Rage 128 RK",0},
				{PCI_CHIP_RAGE128RL,	"Rage 128 RL",0},
				{PCI_CHIP_MACH64VT,	"Mach64 VT",0},
				{PCI_CHIP_MACH64VU,	"Mach64 VU",0},
				{PCI_CHIP_MACH64VV,	"Mach64 VV",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_VLSI, {
				{0x0005,		"82C592-FC1",0 },
				{0x0006,		"82C593-FC1",0 },
				{0x0007,		"82C594-AFC2",0 },
				{0x0009,		"82C597-AFC2",0 },
				{0x000C,		"82C541 Lynx",0 },
				{0x000D,		"82C543 Lynx ISA",0 },
				{0x0702,	 	"VAS96011",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_AVANCE,	{
				{PCI_CHIP_ALG2301,	"ALG2301",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_NS, {
				{0x0002,		"87415",0 },
				{0xD001, 		"87410",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_TSENG, {
				{PCI_CHIP_ET4000_W32P_A, "ET4000W32P revA",0},
				{PCI_CHIP_ET4000_W32P_B, "ET4000W32P revB",0},
				{PCI_CHIP_ET4000_W32P_C, "ET4000W32P revC",0},
				{PCI_CHIP_ET4000_W32P_D, "ET4000W32P revD",0},
				{PCI_CHIP_ET6000,	 "ET6000/6100",0},
				{PCI_CHIP_ET6300,	 "ET6300",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_WEITEK, {
				{PCI_CHIP_P9000,	"P9000",0},
				{PCI_CHIP_P9100,	"P9100",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_DIGITAL, {
				{PCI_CHIP_DEC21030,	"21030/TGA",0},
				{0x0001,		"DC21050 PCI-PCI Bridge"
						 /* print_pcibridge} */,0 },
				{0x0002,		"DC21040 10Mb/s Ethernet",0 },
				{0x0009,		"DC21140 10/100 Mb/s Ethernet",0 },
				{0x000D,		"TGA2",0 },
				{0x000F,		"DEFPA (FDDI PCI)",0 },
				{0x0014,		"DC21041 10Mb/s Ethernet Plus",0 },
				{0x0019,		"DC21142 10/100 Mb/s Ethernet",0 },
				{0x0021,		"DC21052",0 },
				{0x0024,		"DC21152",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_CIRRUS, {
				{PCI_CHIP_GD5430,	"GD5430",0},
				{PCI_CHIP_GD5434_4,	"GD5434",0},
				{PCI_CHIP_GD5434_8,	"GD5434",0},
				{PCI_CHIP_GD5436,	"GD5436",0},
				{PCI_CHIP_GD5446,       "GD5446",0},
				{PCI_CHIP_GD5480,       "GD5480",0},
				{PCI_CHIP_GD5462,       "GD5462",0},
				{PCI_CHIP_GD5464,       "GD5464",0},
				{PCI_CHIP_GD5464BD,     "GD5464BD",0},
				{PCI_CHIP_GD5465,       "GD5465",0},
				{PCI_CHIP_GD7541,	"GD7541",0},
				{PCI_CHIP_GD7542,	"GD7542",0},
				{PCI_CHIP_GD7543,	"GD7543",0},
				{PCI_CHIP_GD7548,	"GD7548",0},
				{PCI_CHIP_GD7555,	"GD7555",0},
#ifdef VENDOR_INCLUDE_NONVIDEO
				{0x6001,		"CS4236B/CS4611 Audio" ,0},
#endif
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_IBM, {
				{0x000A,		"Fire Coral",0 },
				{0x0018,		"Token Ring",0 },
				{0x001D,		"82G2675",0 },
				{0x0022,		"82351 pci-pci bridge",0 },
				{0x00B7,		"256-bit Graphics Rasterizer",0 },
				{0x0170,		"RC1000 / GT 1000",0},
				{0x0000,		NULL,0}}},
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_NCR_2,	{
				{0x0000,		NULL,0}}},
#endif
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_WD, {
				{0x3296,		"WD 7197",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_AMD, {
				{0x2000,		"79C970 Lance",0 },
				{0x2020,		"53C974 SCSI",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_TRIDENT, {
				{PCI_CHIP_9320,		"TGUI 9320",0},
				{PCI_CHIP_9420,		"TGUI 9420",0},
				{PCI_CHIP_9440,		"TGUI 9440",0},
				{PCI_CHIP_9660,		"TGUI 96xx",0},
				{PCI_CHIP_9388,		"Cyber 9388",0},
				{PCI_CHIP_9397,		"Cyber 9397",0},
				{PCI_CHIP_939A,		"Cyber 939A/DVD",0},
				{PCI_CHIP_9520,		"Cyber 9520",0},
				{PCI_CHIP_9525,		"Cyber 9525/DVD",0},
				{PCI_CHIP_9540,		"Cyber 9540",0},
				{PCI_CHIP_9750,		"3DImage975",0},
				{PCI_CHIP_9850,		"3DImage985",0},
				{PCI_CHIP_9880,		"Blade3D",0},
				{PCI_CHIP_8400,		"CyberBlade/i7",0},
				{PCI_CHIP_8420,		"CyberBlade/DSTN/i7",0},
				{PCI_CHIP_8500,		"CyberBlade/i1",0},
				{PCI_CHIP_8520,		"CyberBlade/DSTN/i1",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
     {PCI_VENDOR_ALI, {
				{0x1435,		"M1435",0},
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_MATROX, {
				{PCI_CHIP_MGA2085,	"MGA 2085PX",0},
				{PCI_CHIP_MGA2064,	"MGA 2064W",0},
				{PCI_CHIP_MGA1064,	"MGA 1064SG",0},
				{PCI_CHIP_MGA2164,	"MGA 2164W",0},
				{PCI_CHIP_MGA2164_AGP,	"MGA 2164W AGP",0},
				{PCI_CHIP_MGAG200_PCI,	"MGA G200 PCI",0},
				{PCI_CHIP_MGAG200,	"MGA G200 AGP",0},
				{PCI_CHIP_MGAG400,	"MGA G400 AGP",0},
				{PCI_CHIP_MGAG100_PCI,	"MGA G100 PCI",0},
				{PCI_CHIP_MGAG100,	"MGA G100 AGP",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_CHIPSTECH, {
				{PCI_CHIP_65545,	"65545",0},
				{PCI_CHIP_65548,	"65548",0},
				{PCI_CHIP_65550,	"65550",0},
				{PCI_CHIP_65554,	"65554",0},
				{PCI_CHIP_65555,	"65555",0},
				{PCI_CHIP_68554,	"68554",0},
				{PCI_CHIP_69000,	"69000",0},
				{PCI_CHIP_69030,	"69030",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_MIRO, {
				{0x5601,		"ZR36050",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_NEC, {
				{0x0046,		"PowerVR PCX2",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_FD, {
				{0x0000,		"TMC-18C30 (36C70)",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_SIS,	{
				{PCI_CHIP_SG86C201,	"SG86C201",0},
				{PCI_CHIP_SG86C202,	"SG86C202",0},
				{PCI_CHIP_SG86C205,	"SG86C205",0},
				{PCI_CHIP_SG86C215,	"SG86C215",0},
				{PCI_CHIP_SG86C225,	"SG86C225",0},
				{PCI_CHIP_SIS5597,	"5597",0},
				{PCI_CHIP_SIS530,	"530",0},
				{PCI_CHIP_SIS6326,	"6326",0},
				{PCI_CHIP_SIS300,	"300",0},
				{PCI_CHIP_SIS630,	"630",0},
				{PCI_CHIP_SIS540,	"540",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
     {PCI_VENDOR_HP, {
				{0x1030,		"J2585A",0 },
				{0x1031,		"J2585B",0 },
				{0x0000,		NULL,0}}},
     {PCI_VENDOR_SMC_PCTECH, {
				{0x1000,		"FDC 37C665/RZ1000",0 },
				{0x1001,		"FDC /RZ1001",0 },
				{0x0000,		NULL,0}}},
     {PCI_VENDOR_DPT, {
				{0xA400,		"SmartCache/Raid",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_SGS,	{
				{PCI_CHIP_STG2000,	"STG2000",0},
				{PCI_CHIP_STG1764,	"STG1764",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_BUSLOGIC, {
				{PCI_CHIP_946C_01,	"946C 01",0},
				{PCI_CHIP_946C_10,	"946C 10",0},
				{PCI_CHIP_FLASH_POINT,	"FlashPoint",0},
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_TI,	{
				{PCI_CHIP_TI_PERMEDIA,	"Permedia",0},
				{PCI_CHIP_TI_PERMEDIA2,	"Permedia 2",0},
				{PCI_CHIP_PCI_1130,	"PCI 1130",0},
				{PCI_CHIP_PCI_1131,	"PCI 1131",0},
				{0x8019,		"TSB12LV23 IEEE1394/FireWire",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
	{PCI_VENDOR_SONY, {
				{0x8009,		"CXD1947A IEEE1394/Firewire",0},
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_OAK, {
				{PCI_CHIP_OTI107,	"OTI107",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_WINBOND, {
				{PCI_CHIP_89C940,	"89C940 NE2000-PCI",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_MOTOROLA, {
				{PCI_CHIP_MPC105_EAGLE,	"MPC105 Eagle",0},
				{PCI_CHIP_MPC105_GRACKLE,"MPC105 Grackle",0},
				{PCI_CHIP_RAVEN,	"Raven",0},
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_OAK, {
				{PCI_CHIP_ULTRA_DMA,	"IDE UltraDMA/33",0},
				{PCI_CHIP_DC5030,	"DC5030",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_NUMNINE, {
				{PCI_CHIP_I128,		"Imagine 128",0},
				{PCI_CHIP_I128_2,	"Imagine 128 II",0},
				{PCI_CHIP_I128_T2R,	"Imagine 128 T2R",0},
				{PCI_CHIP_I128_T2R4,	"Imagine 128 T2R4",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_UMC,	{
                                {0x0101,		"UM8673F",0},
                                {0x673A,		"UM8886BF",0},
                                {0x886A,		"UM8886A",0},
                                {0x8881,		"UM8881F",0},
                                {0x8886,		"UM8886F",0},
                                {0x8891,		"UM8891A",0},
                                {0x9017,		"UM9017F",0},
                                {0xE886,		"UM8886N",0},
                                {0xE891,		"UM8891N",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_X, {
                                {0x0001,		"ITT AGX016",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_PICOP, {
                                {0x0001,		"PT86C52x Vesuvius",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_MYLEX, {
                                {0x0010,		"RAID Controller",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_APPLE, {
                                {0x0001,		"Bandit",0 },
				{0x0002,		"Grand Central",0 },
				{0x000E,		"Hydra",0 },
				{0x0019,		"Keylargo USB",0 },
				{0x0020,		"Uni-North AGP",0 },
				{0x0022,		"Keylargo I/O",0 },
				{0x0000,		NULL,0}}},
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_NEXGEN, {
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_QLOGIC, {
                                {0x1020,		"ISP1020",0 },
				{0x1022,		"ISP1022",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_CYRIX, {
                                {0x0000,		"5510",0 },
				{0x0001,		"PCI Master",0 },
				{0x0002,		"5520",0 },
				{0x0100,		"5530 Kahlua Legacy",0 },
				{0x0101,		"5530 Kahlua SMI",0 },
				{0x0102,		"5530 Kahlua IDE",0 },
				{0x0103,		"5530 Kahlua Audio",0 },
				{0x0104,		"5530 Kahlua Video",0 },
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_LEADTEK, {
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_CONTAQ, {
                                {0x0600,		"82C599",0 },
                                {0xc693,		"82C693",0 },
				{0x0000,		NULL,0}}},
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_FOREX, {
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_OLICOM, {
                                {0x0001,		"OC-3136",0 },
				{0x0011,		"OC-2315",0 },
				{0x0012,		"OC-2325",0 },
				{0x0013,		"OC-2183",0 },
				{0x0014,		"OC-2326",0 },
				{0x0021,		"OC-6151",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_SUN, {
                                {0x1000,		"EBUS",0 },
				{0x1001,		"Happy Meal",0 },
				{0x8000,		"PCI Bus Module",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_CMD, {
                                {0x0640,		"640A",0 },
				{0x0643,		"643",0 },
				{0x0646,		"646",0 },
				{0x0670,		"670",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_APPIAN, {
                                {0x3D32,		"Jeronimo 2000 AGP",0 },
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_VISION, {
                                {0x0001,		"QD 8500",0 },
				{0x0002,		"QD 8580",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_BROOKTREE,	{
				{PCI_CHIP_BT848,	"848",0},
				{PCI_CHIP_BT849,	"849",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_SIERRA, {
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_ACC, {
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_WINBOND_2, {
                                {0x0001,		"W83769F",0 },
                                {0x0105,		"SL82C105",0 },
                                {0x0565,		"W83C553",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_DATABOOK, {
                                {0xB106, "DB87144",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_3COM, {
                                {0x5900, "3C590 10bT",0 },
                                {0x5950, "3C595 100bTX",0 },
                                {0x5951, "3C595 100bT4",0 },
                                {0x5952, "3C595 10b-MII",0 },
                                {0x9000, "3C900 10bTPO",0 },
                                {0x9001, "3C900 10b Combo",0 },
				/* Is it OK for 2 devices to have the same name ? */
                                {0x9005, "3C900 10b Combo",0 },
                                {0x9050, "3C905 100bTX",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_SMC, {
                                {0x0005, "9432 TX",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_ALI_2, {
                                {0x1445, "M1445",0 },
                                {0x1449, "M1449",0 },
                                {0x1451, "M1451",0 },
                                {0x1461, "M1461",0 },
                                {0x1489, "M1489",0 },
                                {0x1511, "M1511",0 },
                                {0x1513, "M1513",0 },
                                {0x1521, "M1521",0 },
                                {0x1523, "M1523",0 },
                                {0x1531, "M1531 Aladdin IV",0 },
                                {0x1533, "M1533 Aladdin IV",0 },
                                {0x5215, "M4803",0 },
                                {0x5219, "M5219",0 },
                                {0x5229, "M5229 TXpro",0 },
				{0x0000,		NULL,0}}},
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_MITSUBISHI, {
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_SURECOM, {
                                {0x0E34, "NE-34PCI Lan",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_NEOMAGIC,	{
				{PCI_CHIP_NM2070,	"NM2070",0},
				{PCI_CHIP_NM2090,	"NM2090",0},
				{PCI_CHIP_NM2093,	"NM2093",0},
				{PCI_CHIP_NM2160,	"NM2160",0},
				{PCI_CHIP_NM2200,	"NM2200",0},
				{PCI_CHIP_NM2230,	"NM2230 MagicMedia 256AV+",0},
				{PCI_CHIP_NM2360,	"NM2360",0},
				{PCI_CHIP_NM2380,	"NM2380",0},
#ifdef VENDOR_INCLUDE_NONVIDEO
				{0x8005,			"NM2360 MagicMedia 256ZX Audio",0},
#endif
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_ASP, {
                                { 0x1200, "ABP940",0 },
                                { 0x1300, "ABP940U",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_CERN, {
                                { 0x0001, "STAR/RD24 SCI-PCI (PMC)",0 },
                                { 0x0002, "STAR/RD24 SCI-PCI (PMC)",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_NVIDIA,	{
				{PCI_CHIP_NV1,		"NV1",0},
				{PCI_CHIP_DAC64,	"DAC64",0},
				{PCI_CHIP_TNT,		"Riva TNT",0},
				{PCI_CHIP_TNT2,		"Riva TNT2",0},
				{PCI_CHIP_UTNT2,	"Riva Ultra TNT2",0},
				{PCI_CHIP_VTNT2,	"Riva Vanta",0},
				{PCI_CHIP_UVTNT2,	"Riva Ultra 64",0},
				{PCI_CHIP_ITNT2,	"Riva Integrated",0},
				{PCI_CHIP_GEFORCE256,	"GeForce 256",0},
				{PCI_CHIP_GEFORCEDDR,	"GeForce DDR",0},
				{PCI_CHIP_QUADRO,	"Quadro",0},
				{PCI_CHIP_GEFORCE2MX,	"GeForce2 MX",0},
				{PCI_CHIP_GEFORCE2MXDDR,"GeForce2 MX DDR",0},
				{PCI_CHIP_QUADRO2MXR,	"GeForce2 MXR",0},
				{PCI_CHIP_GEFORCE2GTS,	"GeForce2 GTS",0},
				{PCI_CHIP_GEFORCE2GTS_1,"GeForce2 GTS (rev 1)",0},
				{PCI_CHIP_GEFORCE2ULTRA,"GeForce2 ultra",0},
				{PCI_CHIP_QUADRO2PRO,	"Quadro 2 Pro",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_IMS, {
                                {0x8849, "8849",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_TEKRAM, {
                                {0x690C, "DC690C",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_TUNDRA, {
                                {0x0000, "CA91C042 Universe",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_AMCC, {
                                {0x8043, "Myrinet PCI (M2-PCI-32)",0 },
                                {0x807D, "S5933 PCI44",0 },
                                {0x809C, "S5933 Traquair HEPC3",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_INTEGRAPHICS, {
                                {0x1680, "IGA-1680",0 },
                                {0x1682, "IGA-1682",0 },
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_REALTEC, {
                                {0x8029, "8029",0 },
                                {0x8129, "8129",0 },
                                {0x8139, "RTL8139 10/100 Ethernet",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_TRUEVISION, {
                                {0x000C, "Targa 1000",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_INITIO, {
                                {0x9100, "320 P",0 },
				{0x0000,		NULL,0}}},
	{PCI_VENDOR_SIGMADESIGNS_2, {
	            {0x8300, "EM8300 MPEG2 decoder", 0 },
	            {0x0000, NULL,0}}},
    {PCI_VENDOR_VIA, {
				{0x0501, "VT 8501 MVP4 Host Bridge",0 },
                                {0x0505, "VT 82C505",0 },
                                {0x0561, "VT 82C505",0 },
                                {0x0571, "VT 82C586 MVP3 IDE Bridge",0 },
                                {0x0576, "VT 82C576 3V",0 },
                                {0x0586, "VT 82C586 MVP3 ISA Bridge",0 },
                                {0x0686, "VT 82C686 MVP4 ISA Bridge",0 },
                                {0x0597, "VT 82C598 MVP3 Host Bridge",0 },
                                {0x3038, "VT 82C586 MVP3 USB Controller",0 },
                                {0x3040, "VT 82C586B MVP3 ACPI Bridge",0 },
				{0x3057, "VT 8501 MVP4 ACPI Bridge",0 },
				{0x3058, "VT 8501 MVP4 MultiMedia",0 },
				{0x3068, "VT 8501 MVP4 Modem",0 },
				{0x8501, "VT 8501 MVP4 PCI/AGP Bridge",0 },
                                {0x8598, "VT 82C598 MVP3 PCI/AGP Bridge",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_VORTEX, {
                                {0x0001, "GDT 6000b",0 },
				{0x0000,		NULL,0}}},
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_EF, {
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_FORE, {
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_IMAGTEC, {
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_PLX, {
				{0x0000,		NULL,0}}},
#endif
#endif
    {PCI_VENDOR_NVIDIA_SGS,	{
				{PCI_CHIP_RIVA128,	"Riva128",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_ALLIANCE, {
				{PCI_CHIP_AP6410,	"ProMotion 6410",0},
				{PCI_CHIP_AP6422,	"ProMotion 6422",0},
				{PCI_CHIP_AT24,		"ProMotion AT24",0},
				{PCI_CHIP_AT3D,		"ProMotion AT3D",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_VMIC, {
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_DIGI, {
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_MUTECH, {
                                {0x0001,		 "MV1000",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_RENDITION,	{
				{PCI_CHIP_V1000,	"Verite 1000",0},
				{PCI_CHIP_V2x00,	"Verite 2100/2200",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_TOSHIBA, {
				{0x0000,		NULL,0}}},
	{ PCI_VENDOR_RICOH, {
				{ 0x0475, 	"RL5C475 PCI-CardBus bridge/PCMCIA",0 },
                { 0x0000,		NULL,0}}},						
    {PCI_VENDOR_ZEINET, {
                                {0x0001, "1221",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_LITEON, {
                                {0x0002, "82C168/9 PNIC 10/100BaseTX",0 },
                                {0xC115, "LC82C115 PNIC II 10/100BaseTX",0 },
				{0x0000,		NULL,0}}},
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_SPECIALIX, {
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_CONTROL, {
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_CYCLADES, {
				{0x0000,		NULL,0}}},
#endif
#endif
    {PCI_VENDOR_3DFX, {
				{PCI_CHIP_VOODOO_GRAPHICS, "Voodoo Graphics",0},
				{PCI_CHIP_VOODOO2, 	"Voodoo2",0},
				{PCI_CHIP_BANSHEE, 	"Banshee",0},
				{PCI_CHIP_VOODOO3, 	"Voodoo3",0},
				{PCI_CHIP_VOODOO5, 	"Voodoo5",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_SIGMADESIGNS, {
                                {0x6401, "REALmagic64/GX (SD 6425)",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_ENSONIQ, {
                                {0x5000, "es1370 (AudioPCI)",0 },
                                {0x1371, "es1371",0 },
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
	{PCI_VENDOR_ROCKWELL, {
				{0x2005,	"RS56/SP-PCI11P1 56K V90 modem/spkrphone",0 },
				{0x0000,		NULL,0}}},
#ifdef INCLUDE_EMPTY_LISTS
    {PCI_VENDOR_YOKOGAWA, {
				{0x0000,		NULL,0}}},
#endif
#endif
    {PCI_VENDOR_TRITECH,	{
				{PCI_CHIP_TR25202,	"Pyramid3D TR25202",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_NVIDIA_SGS, {
                                {0x0018, "Riva128",0 },
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_SYMPHONY, {
                                {0x0001, "82C101",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_TEKRAM_2, {
                                {0xDC29, "DC290",0 },
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_3DLABS, {
				{PCI_CHIP_300SX,	"GLINT 300SX",0},
				{PCI_CHIP_500TX,	"GLINT 500TX",0},
				{PCI_CHIP_DELTA,	"GLINT Delta",0},
				{PCI_CHIP_PERMEDIA,	"GLINT Permedia",0},
				{PCI_CHIP_MX,		"GLINT MX",0},
				{PCI_CHIP_PERMEDIA2,	"GLINT Permedia 2",0},
				{PCI_CHIP_GAMMA,	"GLINT Gamma",0},
				{PCI_CHIP_PERMEDIA2V,	"GLINT Permedia 2v",0},
				{PCI_CHIP_PERMEDIA3,	"GLINT Permedia 3",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_AVANCE_2, {
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_S3,	{
				{PCI_CHIP_PLATO,	"PLATO/PX",0},
				{PCI_CHIP_VIRGE,	"ViRGE",0},
				{PCI_CHIP_TRIO,		"Trio32/64",0},
				{PCI_CHIP_AURORA64VP,	"Aurora64V+",0},
				{PCI_CHIP_TRIO64UVP,	"Trio64UV+",0},
				{PCI_CHIP_TRIO64V2_DXGX,"Trio64V2/DX or /GX",0},
				{PCI_CHIP_PLATO_PX,	"PLATO/PX",0},
				{PCI_CHIP_Trio3D,	"Trio3D",0},
				{PCI_CHIP_Trio3D_2X,	"Trio3D/2X",0},
				{PCI_CHIP_VIRGE_VX,	"ViRGE/VX",0},
				{PCI_CHIP_VIRGE_DXGX,	"ViRGE/DX or /GX",0},
				{PCI_CHIP_VIRGE_GX2,	"ViRGE/GX2",0},
				{PCI_CHIP_Savage3D,	"Savage3D (86E391)",0},
				{PCI_CHIP_Savage3D_MV,	"Savage3D+MacroVision (86E390)",0},
				{PCI_CHIP_Savage4,	"Savage4",0},
				{PCI_CHIP_Savage2000,	"Savage2000",0},
				{PCI_CHIP_VIRGE_MX,	"ViRGE/MX",0},
				{PCI_CHIP_VIRGE_MXPLUS,	"ViRGE/MX+",0},
				{PCI_CHIP_VIRGE_MXP,	"ViRGE/MX+MV",0},
				{PCI_CHIP_868,		"868",0},
				{PCI_CHIP_928,		"928",0},
				{PCI_CHIP_864_0,	"864",0},
				{PCI_CHIP_864_1,	"864",0},
				{PCI_CHIP_964_0,	"964",0},
				{PCI_CHIP_964_1,	"964",0},
				{PCI_CHIP_968,		"968",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_INTEL,{
                                {0x0482, "82375EB pci-eisa bridge",0},
				{0x0483, "82424ZX cache dram controller",0},
				{0x0484, "82378IB/ZB pci-isa bridge",0x0601},
				{0x0486, "82430ZX Aries",0},
				{0x04A3, "82434LX/NX pci cache mem controller",0},
				{0x0960, "960RD processor/bridge",0},
				{0x1221, "82092AA",0},
				{0x1222, "82092AA",0},
				{0x1223, "SAA7116",0},
				{0x1226, "82596",0},
				{0x1227, "82865",0},
				{0x1229, "82557/8/9 10/100MBit network controller",0 },
				{0x122D, "82437 Triton",0},
				{0x122E, "82471 Triton",0},
				{0x1230, "82371 bus-master IDE controller",0},
				{0x1234, "82371MX bus-master IDE controller",0},
				{0x1235, "82437MX",0},
				{0x1237, "82441FX Natoma",0},
				{0x124B, "82380FB",0},
				{0x1250, "82439",0},
				{0x7000, "82371 pci-isa bridge",0},
				{0x7010, "82371 bus-master IDE controller",0},
				{0x7020, "82371 bus-master IDE controller",0},
				{0x7030, "82437VX",0},
				{0x7100, "82439TX",0},
				{0x7110, "82371AB PIIX4 ISA",0},
				{0x7111, "82371AB PIIX4 IDE",0},
				{0x7112, "82371AB PIIX4 USB",0},
				{0x7113, "82371AB PIIX4 ACPI",0},
				{0x7180, "82443LX PAC Host",0},
				{0x7181, "82443LX PAC AGP",0},
				{0x7190, "82443BX Host",0},
				{0x7191, "82443BX AGP",0},
				{0x7192, "82443BX Host (no AGP)",0},
				{0x71a0, "82443GX Host",0},
				{0x71a1, "82443GX AGP",0},
				{0x71a2, "82443GX Host (no AGP)",0},
				{0x84C4, "P6",0},
				{0x84C5, "82450GX20",0},
				{PCI_CHIP_I740_AGP,	"i740 (AGP)",0},
				{PCI_CHIP_I815_BRIDGE,	"i815 Bridge",0},
				{PCI_CHIP_I815,		"i815",0},
				{PCI_CHIP_I810_BRIDGE,	"i810 Bridge",0},
				{PCI_CHIP_I810,		"i810",0},
				{PCI_CHIP_I810_DC100_BRIDGE,	"i810-dc100 Bridge",0},
				{PCI_CHIP_I810_DC100,	"i810-dc100",0},
				{PCI_CHIP_I810_E_BRIDGE,"i810e Bridge",0},
				{PCI_CHIP_I810_E,	"i810e",0},
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_ADAPTEC, {
				{0x0010, "2940U2",0 },
				{0x1078, "7810",0 },
				{0x5078, "7850",0 },
				{0x5578, "7855",0 },
				{0x6078, "7860",0 },
				{0x6178, "2940AU",0 },
				{0x7078, "7870",0 },
				{0x7178, "2940",0 },
				{0x7278, "7872",0 },
				{0x7378, "398X",0 },
				{0x7478, "2944",0 },
				{0x7895, "7895",0 },
				{0x8078, "7880",0 },
				{0x8178, "2940U/UW",0 },
				{0x8278, "3940U/UW",0 },
				{0x8378, "389XU",0 },
				{0x8478, "2944U",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_ADAPTEC_2, {
                                {0x001F, "7890/7891",0 },
				{0x0000,		NULL,0}}},
    {PCI_VENDOR_ATRONICS, {
                                {0x2015, "IDE-2015PL",0 },
 				{0x0000,		NULL,0}}},
    {PCI_VENDOR_ARK, {
				{PCI_CHIP_1000PV,	"1000PV",0},
				{PCI_CHIP_2000PV,	"2000PV",0},
				{PCI_CHIP_2000MT,	"2000MT",0},
				{PCI_CHIP_2000MI,	"2000MI",0},
				{0x0000,		NULL,0}}},
#ifdef VENDOR_INCLUDE_NONVIDEO
    {PCI_VENDOR_YAMAHA, {
				{0x000a,	        "YMF740-V Audio",0},
				{0x0000,		NULL,0}}},
#endif
    {PCI_VENDOR_SMI, {
				{PCI_CHIP_SMI910,	"Lynx",0},
				{PCI_CHIP_SMI810,	"LynxE",0},
				{PCI_CHIP_SMI820,	"Lynx3D",0},
				{PCI_CHIP_SMI710,	"LynxEM",0},
				{PCI_CHIP_SMI712,	"LynxEM+",0},
				{PCI_CHIP_SMI720,	"Lynx3DM",0},
				{0x0000,		NULL,0}}},
    {0x0000, {
				{0x0000,		NULL,0}}},
};
#endif

#ifdef DECLARE_CARD_DATASTRUCTURES

/* Increase this as required */
#define MAX_CARD_PER_VENDOR 64

typedef void (*pciPrintProcPtr)(pciCfgRegs *);
typedef struct {
    unsigned short VendorID;
    struct pciCard {
	unsigned short SubsystemID;
        char *CardName;
	CARD16 class;
	pciPrintProcPtr printFunc;
    } Device[MAX_CARD_PER_VENDOR];
} pciVendorCardInfo;

extern pciVendorCardInfo* xf86PCICardInfo;

#ifdef INIT_PCI_CARD_INFO

#define NF (pciPrintProcPtr)NULL

static pciVendorCardInfo xf86PCICardInfoData[] = {
#ifdef VENDOR_INCLUDE_NONVIDEO
	{ PCI_VENDOR_3COM, {
                        { 0x9005, "PCI Combo ethernet card",0,NF },
                        { 0x0000, (char *)NULL,0, NF } } },
#endif
#ifdef VENDOR_INCLUDE_NONVIDEO
	{ PCI_VENDOR_ADAPTEC, {
                        { 0x7881, "AHA-2940U/UW SCSI",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
#endif
	/* ATI card info deleted;  unmaintainable */
#ifdef VENDOR_INCLUDE_NONVIDEO
	{ PCI_VENDOR_COMPAQ, {
                        { 0xC001, "NC3121",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_NCR_1, {
	                { 0x1000, "SCSI HBA",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
    { PCI_VENDOR_REALTEC, {
                        { 0x8139, "Generic",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_CREATIVE_2, {
			{ 0x1017, "3D Blaster Banshee",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{PCI_VENDOR_DIGITAL, {
			{ 0x500A, "EtherWORKS 10/100",0, NF},
                        { 0x0000, (char *)NULL,0, NF } } },
#endif
	{ PCI_VENDOR_SONY, {
						{ 0x8051, "Vaio Video",0,NF },
#ifdef VENDOR_INCLUDE_NONVIDEO
						{ 0x8052, "Vaio Audio",0,NF },
						{ 0x8054, "Vaio Firewire",0,NF },
						{ 0x8056, "Vaio Modem",0,NF },
						{ 0x8057, "Vaio Ethernet",0,NF },
#endif
						{ 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_DIAMOND, {
                        { 0x0003, "Monster Fusion",0, NF },
			{ 0x00b8, "Fire GL1",0, NF },
                        { 0x0100, "Stealth II G460",0, NF },
                        { 0x0154, "Fire GL 1000 PRO",0, NF },
			{ 0x0172, "Fire GL2",0, NF },
			{ 0x0173, "Fire GL2",0, NF },
                        { 0x0550, "Viper 550",0, NF },
                        { 0x1092, "Viper 330",0, NF },
                        { 0x1103, "Fire GL 1000",0, NF },
                        { 0x2000, "Stealth II S220",0, NF },
			{ 0x2110, "Sonic Impact S70",0, NF },
                        { 0x4803, "Monster Fusion",0, NF },
                        { 0x6820, "Viper 770",0, NF },
                        { 0x8000, "C&T 69000",0, NF },
			{ 0x8760, "Fireport 40 Dual",0, NF },
                        { 0x8a10, "Stealth 3D 4000",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_ELSA, {
                        { 0x0914, "Winner 1000",0, NF },
                        { 0x0930, "Winner 1000PRO 864",0, NF },
                        { 0x0931, "Winner 1000PRO Trio32",0, NF },
                        { 0x0932, "Winner 1000Trio Trio64",0, NF },
                        { 0x0933, "Winner 1000TrioV Trio64V+",0, NF },
                        { 0x0934, "Victory 3D",0, NF },
                        { 0x0935, "Winner 1000 T2D",0, NF },
                        { 0x0936, "Winner 1000PRO 868",0, NF },
                        { 0x0937, "Winner 1000PRO/X 868",0, NF },
                        { 0x0938, "Winner 1000ViRGE",0, NF },
                        { 0x0939, "Winner 1000ViRGE/DX",0, NF },
                        { 0x093a, "Winner 1000/T2DX",0, NF },
                        { 0x093b, "Winner DUO M5",0, NF },
                        { 0x093c, "Victory 1000",0, NF },
                        { 0x0940, "Winner 2000PRO 964/TVP3020",0, NF },
                        { 0x0941, "Winner 2000PRO/X 968/TVP3020",0, NF },
                        { 0x0942, "Winner 2000PRO/X 968/TVP3026",0, NF },
                        { 0x0943, "Winner 2000AVI 968/TVP3026",0, NF },
                        { 0x0948, "Winner 2000PRO-8 964/RGB528",0, NF },
                        { 0x094a, "Winner 2000PRO-8 968/RGB528",0, NF },
                        { 0x094b, "Winner 2000PRO-8 968/TVP3030",0, NF },
                        { 0x0950, "ViRGE/VX",0, NF },
                        { 0x0951, "Winner 2000AVI 3D",0, NF },
                        { 0x0952, "Winner 2000AVI 220",0, NF },
                        { 0x0960, "Winner 3000M",0, NF },
                        { 0x0962, "Winner 3000L",0, NF },
                        { 0x0964, "Winner 3000XL",0, NF },
                        { 0x096a, "Winner 3000Twin",0, NF },
                        { 0x096c, "Winner 3000LT",0, NF },
                        { 0x0980, "GLoria 4 TVP3026",0, NF },
                        { 0x0982, "GLoria 4 TVP3030",0, NF },
                        { 0x0981, "GLoria 8",0, NF },
                        { 0x0a10, "GLoria M",0, NF },
                        { 0x0a14, "GLoria S",0, NF },
                        { 0x0a31, "Winner 2000 Office",0, NF },
                        { 0x0a32, "GLoria Synergy P2C",0, NF },
                        { 0x0a33, "GLoria Synergy P2C",0, NF },
                        { 0x0a34, "GLoria Synergy P2V",0, NF },
                        { 0x0a35, "GLoria Synergy P2A",0, NF },
                        { 0x0a36, "Quad GLoria Synergy P2A",0, NF },
                        { 0x0a40, "GLoria MX",0, NF },
                        { 0x0a41, "GLoria XL",0, NF },
                        { 0x0a42, "GLoria XXL",0, NF },
                        { 0x0a43, "Winner 2000 Office P2V",0, NF },
                        { 0x0a44, "Winner 2000 Office P2A",0, NF },
                        { 0x0a80, "GLoria S MAC",0, NF },
                        { 0x0c10, "Victory Erazor 4",0, NF },
                        { 0x0c11, "Victory Erazor 8",0, NF },
                        { 0x0c12, "Winner 1000 R3D",0, NF },
                        { 0x0c13, "Winner 1000 ZX4",0, NF },
                        { 0x0c14, "Victory Erazor/LT SGRAM",0, NF },
                        { 0x0c15, "Victory Erazor/LT SDRAM",0, NF },
                        { 0x0c18, "Erazor II SGRAM",0, NF },
                        { 0x0c19, "Erazor II SDRAM video",0, NF },
                        { 0x0c1a, "Synergy Pro",0, NF },
                        { 0x0c1c, "Erazor II SDRAM",0, NF },
                        { 0x0c20, "Synergy II 32",0, NF },
                        { 0x0c21, "Synergy II 16",0, NF },
                        { 0x0c22, "Erazor III",0, NF },
                        { 0x0c23, "Erazor III video",0, NF },
                        { 0x0d10, "Victory II SGRAM",0, NF },
                        { 0x0d11, "Victory II SDRAM",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_HERCULES, {
                        { 0x0001, "Thriller3D",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_IBM, {
                        { 0x00ba, "Thinkpad 600 NeoMagic NM2160",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{PCI_VENDOR_INTEL, {
#ifdef VENDOR_INCLUDE_NONVIDEO
                        { 0x0009, "PCI 10/100Mb/s ethernet card",0, NF },
 	  /* Seattle AL440BX is 0x8080, is anything else ? */
                        { 0x8080, "motherboard",0, NF },
                        { 0x4d55, "Maui (MU) motherboard",0, NF },
#endif
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_MATROX, {
                        { 0x1100, "Mystique",0, NF },
                        { 0x1000, "Millennium II",0, NF },
                        { 0x0100, "Millennium II",0, NF },
                        { 0x1200, "Millennium II",0, NF },
                        { PCI_CARD_MILL_G200_SD, "Millennium G200 SD",0, NF },
                        { PCI_CARD_PROD_G100_SD, "Produktiva G100 SD",0, NF },
                        { PCI_CARD_MYST_G200_SD, "Mystique G200 SD",0, NF },
                        { PCI_CARD_MILL_G200_SG, "Millennium G200 SG",0, NF },
                        { PCI_CARD_MARV_G200_SD, "Marvel G200 SD",0, NF },
                        { 0x1001, "Productiva G100 SG",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_SIS, {
                        { 0x6306, "530 based motherboard",0, NF },
                        { 0x6326, "6326 based card",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
#ifdef VENDOR_INCLUDE_NONVIDEO
	{ PCI_VENDOR_CREATIVE, {
			{ 0x4c4c, "Sound Blaster PCI128",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
#endif
	{ PCI_VENDOR_S3, {
                        { 0x8904, "Trio3D",0, NF },
                        { 0x8a10, "Generic",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_NUMNINE, {
                        { 0x8a10, "Reality 334",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_TOSHIBA, {
                        { 0x0001, "4010CDT CT65555",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
#ifdef VENDOR_INCLUDE_NONVIDEO
	{ PCI_VENDOR_LITEON, {
			{ 0xc001, "LNE100TX Version 2.0",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_BUSLOGIC, {
	                { 0x1040,	"BT958",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
	{ PCI_VENDOR_NETGEAR, {
			{ 0xf004, "FA310-TX Rev. D2",0, NF },
                        { 0x0000, (char *)NULL,0, NF } } },
#endif
	{0x0000, {
	  		{0x0000,  NULL,0, NF } } },
};
#endif
#endif
#endif /* _XF86_PCIINFO_H */