From d7111353bd52fa54ae6c0defd6d1c4a86fbfb3b3 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 7 Jun 2011 20:59:56 +0200 Subject: r300g: consolidate deducing chipset info Use the new PCI ID table, make it simpler. --- src/gallium/drivers/r300/r300_chipset.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/gallium/drivers/r300/r300_chipset.h') diff --git a/src/gallium/drivers/r300/r300_chipset.h b/src/gallium/drivers/r300/r300_chipset.h index d0050bed2e8..4df6b5b6292 100644 --- a/src/gallium/drivers/r300/r300_chipset.h +++ b/src/gallium/drivers/r300/r300_chipset.h @@ -96,26 +96,24 @@ struct r300_capabilities { /* Enumerations for legibility and telling which card we're running on. */ enum { - CHIP_FAMILY_R300 = 0, + CHIP_FAMILY_R300 = 0, /* R3xx-based cores. */ CHIP_FAMILY_R350, - CHIP_FAMILY_R360, CHIP_FAMILY_RV350, CHIP_FAMILY_RV370, CHIP_FAMILY_RV380, - CHIP_FAMILY_R420, + CHIP_FAMILY_RS400, + CHIP_FAMILY_RC410, + CHIP_FAMILY_RS480, + CHIP_FAMILY_R420, /* R4xx-based cores. */ CHIP_FAMILY_R423, CHIP_FAMILY_R430, CHIP_FAMILY_R480, CHIP_FAMILY_R481, CHIP_FAMILY_RV410, - CHIP_FAMILY_RS400, - CHIP_FAMILY_RC410, - CHIP_FAMILY_RS480, - CHIP_FAMILY_RS482, CHIP_FAMILY_RS600, CHIP_FAMILY_RS690, CHIP_FAMILY_RS740, - CHIP_FAMILY_RV515, + CHIP_FAMILY_RV515, /* R5xx-based cores. */ CHIP_FAMILY_R520, CHIP_FAMILY_RV530, CHIP_FAMILY_R580, -- cgit v1.2.3