162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * ATI PCI IDs from XFree86, kept here to make sync'ing with
462306a36Sopenharmony_ci * XFree much simpler. Currently, this list is only used by
562306a36Sopenharmony_ci * radeonfb
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#define PCI_CHIP_RV380_3150             0x3150
962306a36Sopenharmony_ci#define PCI_CHIP_RV380_3151             0x3151
1062306a36Sopenharmony_ci#define PCI_CHIP_RV380_3152             0x3152
1162306a36Sopenharmony_ci#define PCI_CHIP_RV380_3153             0x3153
1262306a36Sopenharmony_ci#define PCI_CHIP_RV380_3154             0x3154
1362306a36Sopenharmony_ci#define PCI_CHIP_RV380_3156             0x3156
1462306a36Sopenharmony_ci#define PCI_CHIP_RV380_3E50             0x3E50
1562306a36Sopenharmony_ci#define PCI_CHIP_RV380_3E51             0x3E51
1662306a36Sopenharmony_ci#define PCI_CHIP_RV380_3E52             0x3E52
1762306a36Sopenharmony_ci#define PCI_CHIP_RV380_3E53             0x3E53
1862306a36Sopenharmony_ci#define PCI_CHIP_RV380_3E54             0x3E54
1962306a36Sopenharmony_ci#define PCI_CHIP_RV380_3E56             0x3E56
2062306a36Sopenharmony_ci#define PCI_CHIP_RS100_4136		0x4136
2162306a36Sopenharmony_ci#define PCI_CHIP_RS200_4137		0x4137
2262306a36Sopenharmony_ci#define PCI_CHIP_R300_AD		0x4144
2362306a36Sopenharmony_ci#define PCI_CHIP_R300_AE		0x4145
2462306a36Sopenharmony_ci#define PCI_CHIP_R300_AF		0x4146
2562306a36Sopenharmony_ci#define PCI_CHIP_R300_AG		0x4147
2662306a36Sopenharmony_ci#define PCI_CHIP_R350_AH                0x4148
2762306a36Sopenharmony_ci#define PCI_CHIP_R350_AI                0x4149
2862306a36Sopenharmony_ci#define PCI_CHIP_R350_AJ                0x414A
2962306a36Sopenharmony_ci#define PCI_CHIP_R350_AK                0x414B
3062306a36Sopenharmony_ci#define PCI_CHIP_RV350_AP               0x4150
3162306a36Sopenharmony_ci#define PCI_CHIP_RV350_AQ               0x4151
3262306a36Sopenharmony_ci#define PCI_CHIP_RV360_AR               0x4152
3362306a36Sopenharmony_ci#define PCI_CHIP_RV350_AS               0x4153
3462306a36Sopenharmony_ci#define PCI_CHIP_RV350_AT               0x4154
3562306a36Sopenharmony_ci#define PCI_CHIP_RV350_AV               0x4156
3662306a36Sopenharmony_ci#define PCI_CHIP_MACH32			0x4158
3762306a36Sopenharmony_ci#define PCI_CHIP_RS250_4237		0x4237
3862306a36Sopenharmony_ci#define PCI_CHIP_R200_BB		0x4242
3962306a36Sopenharmony_ci#define PCI_CHIP_R200_BC		0x4243
4062306a36Sopenharmony_ci#define PCI_CHIP_RS100_4336		0x4336
4162306a36Sopenharmony_ci#define PCI_CHIP_RS200_4337		0x4337
4262306a36Sopenharmony_ci#define PCI_CHIP_MACH64CT		0x4354
4362306a36Sopenharmony_ci#define PCI_CHIP_MACH64CX		0x4358
4462306a36Sopenharmony_ci#define PCI_CHIP_RS250_4437		0x4437
4562306a36Sopenharmony_ci#define PCI_CHIP_MACH64ET		0x4554
4662306a36Sopenharmony_ci#define PCI_CHIP_MACH64GB		0x4742
4762306a36Sopenharmony_ci#define PCI_CHIP_MACH64GD		0x4744
4862306a36Sopenharmony_ci#define PCI_CHIP_MACH64GI		0x4749
4962306a36Sopenharmony_ci#define PCI_CHIP_MACH64GL		0x474C
5062306a36Sopenharmony_ci#define PCI_CHIP_MACH64GM		0x474D
5162306a36Sopenharmony_ci#define PCI_CHIP_MACH64GN		0x474E
5262306a36Sopenharmony_ci#define PCI_CHIP_MACH64GO		0x474F
5362306a36Sopenharmony_ci#define PCI_CHIP_MACH64GP		0x4750
5462306a36Sopenharmony_ci#define PCI_CHIP_MACH64GQ		0x4751
5562306a36Sopenharmony_ci#define PCI_CHIP_MACH64GR		0x4752
5662306a36Sopenharmony_ci#define PCI_CHIP_MACH64GS		0x4753
5762306a36Sopenharmony_ci#define PCI_CHIP_MACH64GT		0x4754
5862306a36Sopenharmony_ci#define PCI_CHIP_MACH64GU		0x4755
5962306a36Sopenharmony_ci#define PCI_CHIP_MACH64GV		0x4756
6062306a36Sopenharmony_ci#define PCI_CHIP_MACH64GW		0x4757
6162306a36Sopenharmony_ci#define PCI_CHIP_MACH64GX		0x4758
6262306a36Sopenharmony_ci#define PCI_CHIP_MACH64GY		0x4759
6362306a36Sopenharmony_ci#define PCI_CHIP_MACH64GZ		0x475A
6462306a36Sopenharmony_ci#define PCI_CHIP_RV250_Id		0x4964
6562306a36Sopenharmony_ci#define PCI_CHIP_RV250_Ie		0x4965
6662306a36Sopenharmony_ci#define PCI_CHIP_RV250_If		0x4966
6762306a36Sopenharmony_ci#define PCI_CHIP_RV250_Ig		0x4967
6862306a36Sopenharmony_ci#define PCI_CHIP_R420_JH                0x4A48
6962306a36Sopenharmony_ci#define PCI_CHIP_R420_JI                0x4A49
7062306a36Sopenharmony_ci#define PCI_CHIP_R420_JJ                0x4A4A
7162306a36Sopenharmony_ci#define PCI_CHIP_R420_JK                0x4A4B
7262306a36Sopenharmony_ci#define PCI_CHIP_R420_JL                0x4A4C
7362306a36Sopenharmony_ci#define PCI_CHIP_R420_JM                0x4A4D
7462306a36Sopenharmony_ci#define PCI_CHIP_R420_JN                0x4A4E
7562306a36Sopenharmony_ci#define PCI_CHIP_R420_JP                0x4A50
7662306a36Sopenharmony_ci#define PCI_CHIP_MACH64LB		0x4C42
7762306a36Sopenharmony_ci#define PCI_CHIP_MACH64LD		0x4C44
7862306a36Sopenharmony_ci#define PCI_CHIP_RAGE128LE		0x4C45
7962306a36Sopenharmony_ci#define PCI_CHIP_RAGE128LF		0x4C46
8062306a36Sopenharmony_ci#define PCI_CHIP_MACH64LG		0x4C47
8162306a36Sopenharmony_ci#define PCI_CHIP_MACH64LI		0x4C49
8262306a36Sopenharmony_ci#define PCI_CHIP_MACH64LM		0x4C4D
8362306a36Sopenharmony_ci#define PCI_CHIP_MACH64LN		0x4C4E
8462306a36Sopenharmony_ci#define PCI_CHIP_MACH64LP		0x4C50
8562306a36Sopenharmony_ci#define PCI_CHIP_MACH64LQ		0x4C51
8662306a36Sopenharmony_ci#define PCI_CHIP_MACH64LR		0x4C52
8762306a36Sopenharmony_ci#define PCI_CHIP_MACH64LS		0x4C53
8862306a36Sopenharmony_ci#define PCI_CHIP_MACH64LT		0x4C54
8962306a36Sopenharmony_ci#define PCI_CHIP_RADEON_LW		0x4C57
9062306a36Sopenharmony_ci#define PCI_CHIP_RADEON_LX		0x4C58
9162306a36Sopenharmony_ci#define PCI_CHIP_RADEON_LY		0x4C59
9262306a36Sopenharmony_ci#define PCI_CHIP_RADEON_LZ		0x4C5A
9362306a36Sopenharmony_ci#define PCI_CHIP_RV250_Ld		0x4C64
9462306a36Sopenharmony_ci#define PCI_CHIP_RV250_Le		0x4C65
9562306a36Sopenharmony_ci#define PCI_CHIP_RV250_Lf		0x4C66
9662306a36Sopenharmony_ci#define PCI_CHIP_RV250_Lg		0x4C67
9762306a36Sopenharmony_ci#define PCI_CHIP_RV250_Ln		0x4C6E
9862306a36Sopenharmony_ci#define PCI_CHIP_RAGE128MF		0x4D46
9962306a36Sopenharmony_ci#define PCI_CHIP_RAGE128ML		0x4D4C
10062306a36Sopenharmony_ci#define PCI_CHIP_R300_ND		0x4E44
10162306a36Sopenharmony_ci#define PCI_CHIP_R300_NE		0x4E45
10262306a36Sopenharmony_ci#define PCI_CHIP_R300_NF		0x4E46
10362306a36Sopenharmony_ci#define PCI_CHIP_R300_NG		0x4E47
10462306a36Sopenharmony_ci#define PCI_CHIP_R350_NH                0x4E48
10562306a36Sopenharmony_ci#define PCI_CHIP_R350_NI                0x4E49
10662306a36Sopenharmony_ci#define PCI_CHIP_R360_NJ                0x4E4A
10762306a36Sopenharmony_ci#define PCI_CHIP_R350_NK                0x4E4B
10862306a36Sopenharmony_ci#define PCI_CHIP_RV350_NP               0x4E50
10962306a36Sopenharmony_ci#define PCI_CHIP_RV350_NQ               0x4E51
11062306a36Sopenharmony_ci#define PCI_CHIP_RV350_NR               0x4E52
11162306a36Sopenharmony_ci#define PCI_CHIP_RV350_NS               0x4E53
11262306a36Sopenharmony_ci#define PCI_CHIP_RV350_NT               0x4E54
11362306a36Sopenharmony_ci#define PCI_CHIP_RV350_NV               0x4E56
11462306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PA		0x5041
11562306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PB		0x5042
11662306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PC		0x5043
11762306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PD		0x5044
11862306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PE		0x5045
11962306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PF		0x5046
12062306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PG		0x5047
12162306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PH		0x5048
12262306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PI		0x5049
12362306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PJ		0x504A
12462306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PK		0x504B
12562306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PL		0x504C
12662306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PM		0x504D
12762306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PN		0x504E
12862306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PO		0x504F
12962306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PP		0x5050
13062306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PQ		0x5051
13162306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PR		0x5052
13262306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PS		0x5053
13362306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PT		0x5054
13462306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PU		0x5055
13562306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PV		0x5056
13662306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PW		0x5057
13762306a36Sopenharmony_ci#define PCI_CHIP_RAGE128PX		0x5058
13862306a36Sopenharmony_ci#define PCI_CHIP_RADEON_QD		0x5144
13962306a36Sopenharmony_ci#define PCI_CHIP_RADEON_QE		0x5145
14062306a36Sopenharmony_ci#define PCI_CHIP_RADEON_QF		0x5146
14162306a36Sopenharmony_ci#define PCI_CHIP_RADEON_QG		0x5147
14262306a36Sopenharmony_ci#define PCI_CHIP_R200_QH		0x5148
14362306a36Sopenharmony_ci#define PCI_CHIP_R200_QI		0x5149
14462306a36Sopenharmony_ci#define PCI_CHIP_R200_QJ		0x514A
14562306a36Sopenharmony_ci#define PCI_CHIP_R200_QK		0x514B
14662306a36Sopenharmony_ci#define PCI_CHIP_R200_QL		0x514C
14762306a36Sopenharmony_ci#define PCI_CHIP_R200_QM		0x514D
14862306a36Sopenharmony_ci#define PCI_CHIP_R200_QN		0x514E
14962306a36Sopenharmony_ci#define PCI_CHIP_R200_QO		0x514F
15062306a36Sopenharmony_ci#define PCI_CHIP_RV200_QW		0x5157
15162306a36Sopenharmony_ci#define PCI_CHIP_RV200_QX		0x5158
15262306a36Sopenharmony_ci#define PCI_CHIP_RV100_QY		0x5159
15362306a36Sopenharmony_ci#define PCI_CHIP_RV100_QZ		0x515A
15462306a36Sopenharmony_ci#define PCI_CHIP_RN50			0x515E
15562306a36Sopenharmony_ci#define PCI_CHIP_RAGE128RE		0x5245
15662306a36Sopenharmony_ci#define PCI_CHIP_RAGE128RF		0x5246
15762306a36Sopenharmony_ci#define PCI_CHIP_RAGE128RG		0x5247
15862306a36Sopenharmony_ci#define PCI_CHIP_RAGE128RK		0x524B
15962306a36Sopenharmony_ci#define PCI_CHIP_RAGE128RL		0x524C
16062306a36Sopenharmony_ci#define PCI_CHIP_RAGE128SE		0x5345
16162306a36Sopenharmony_ci#define PCI_CHIP_RAGE128SF		0x5346
16262306a36Sopenharmony_ci#define PCI_CHIP_RAGE128SG		0x5347
16362306a36Sopenharmony_ci#define PCI_CHIP_RAGE128SH		0x5348
16462306a36Sopenharmony_ci#define PCI_CHIP_RAGE128SK		0x534B
16562306a36Sopenharmony_ci#define PCI_CHIP_RAGE128SL		0x534C
16662306a36Sopenharmony_ci#define PCI_CHIP_RAGE128SM		0x534D
16762306a36Sopenharmony_ci#define PCI_CHIP_RAGE128SN		0x534E
16862306a36Sopenharmony_ci#define PCI_CHIP_RAGE128TF		0x5446
16962306a36Sopenharmony_ci#define PCI_CHIP_RAGE128TL		0x544C
17062306a36Sopenharmony_ci#define PCI_CHIP_RAGE128TR		0x5452
17162306a36Sopenharmony_ci#define PCI_CHIP_RAGE128TS		0x5453
17262306a36Sopenharmony_ci#define PCI_CHIP_RAGE128TT		0x5454
17362306a36Sopenharmony_ci#define PCI_CHIP_RAGE128TU		0x5455
17462306a36Sopenharmony_ci#define PCI_CHIP_RV370_5460             0x5460
17562306a36Sopenharmony_ci#define PCI_CHIP_RV370_5461             0x5461
17662306a36Sopenharmony_ci#define PCI_CHIP_RV370_5462             0x5462
17762306a36Sopenharmony_ci#define PCI_CHIP_RV370_5463             0x5463
17862306a36Sopenharmony_ci#define PCI_CHIP_RV370_5464             0x5464
17962306a36Sopenharmony_ci#define PCI_CHIP_RV370_5465             0x5465
18062306a36Sopenharmony_ci#define PCI_CHIP_RV370_5466             0x5466
18162306a36Sopenharmony_ci#define PCI_CHIP_RV370_5467             0x5467
18262306a36Sopenharmony_ci#define PCI_CHIP_R423_UH                0x5548
18362306a36Sopenharmony_ci#define PCI_CHIP_R423_UI                0x5549
18462306a36Sopenharmony_ci#define PCI_CHIP_R423_UJ                0x554A
18562306a36Sopenharmony_ci#define PCI_CHIP_R423_UK                0x554B
18662306a36Sopenharmony_ci#define PCI_CHIP_R423_UQ                0x5551
18762306a36Sopenharmony_ci#define PCI_CHIP_R423_UR                0x5552
18862306a36Sopenharmony_ci#define PCI_CHIP_R423_UT                0x5554
18962306a36Sopenharmony_ci#define PCI_CHIP_MACH64VT		0x5654
19062306a36Sopenharmony_ci#define PCI_CHIP_MACH64VU		0x5655
19162306a36Sopenharmony_ci#define PCI_CHIP_MACH64VV		0x5656
19262306a36Sopenharmony_ci#define PCI_CHIP_RC410_5A62             0x5A62
19362306a36Sopenharmony_ci#define PCI_CHIP_RS300_5834		0x5834
19462306a36Sopenharmony_ci#define PCI_CHIP_RS300_5835		0x5835
19562306a36Sopenharmony_ci#define PCI_CHIP_RS300_5836		0x5836
19662306a36Sopenharmony_ci#define PCI_CHIP_RS300_5837		0x5837
19762306a36Sopenharmony_ci#define PCI_CHIP_RS480_5955             0x5955
19862306a36Sopenharmony_ci#define PCI_CHIP_RV280_5960		0x5960
19962306a36Sopenharmony_ci#define PCI_CHIP_RV280_5961		0x5961
20062306a36Sopenharmony_ci#define PCI_CHIP_RV280_5962		0x5962
20162306a36Sopenharmony_ci#define PCI_CHIP_RV280_5964		0x5964
20262306a36Sopenharmony_ci#define PCI_CHIP_RS482_5975		0x5975
20362306a36Sopenharmony_ci#define PCI_CHIP_RV370_5B60             0x5B60
20462306a36Sopenharmony_ci#define PCI_CHIP_RV370_5B61             0x5B61
20562306a36Sopenharmony_ci#define PCI_CHIP_RV370_5B62             0x5B62
20662306a36Sopenharmony_ci#define PCI_CHIP_RV370_5B63             0x5B63
20762306a36Sopenharmony_ci#define PCI_CHIP_RV370_5B64             0x5B64
20862306a36Sopenharmony_ci#define PCI_CHIP_RV370_5B65             0x5B65
20962306a36Sopenharmony_ci#define PCI_CHIP_RV370_5B66             0x5B66
21062306a36Sopenharmony_ci#define PCI_CHIP_RV370_5B67             0x5B67
21162306a36Sopenharmony_ci#define PCI_CHIP_RV280_5C61		0x5C61
21262306a36Sopenharmony_ci#define PCI_CHIP_RV280_5C63		0x5C63
21362306a36Sopenharmony_ci#define PCI_CHIP_R423_5D57              0x5D57
21462306a36Sopenharmony_ci#define PCI_CHIP_RS350_7834             0x7834
21562306a36Sopenharmony_ci#define PCI_CHIP_RS350_7835             0x7835
216