aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraherrman@arcor.de <aherrman@arcor.de>2007-09-11 14:37:37 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-09-13 11:00:42 -0400
commit106c4a9cef3671b0a251e64c8f6fb7f1a4d801c6 (patch)
tree2c75056c8c4b6e1857c9221c0d9949323197f3cc
parentf2740e45ae59d76ce4303d83824d3625b23334e5 (diff)
radeonfb: fix chip definition for Radeon Xpress 200M 0x5975
This fixes a problem introduced with commit b5f2f4d1a6d7efde39cfb5e1d034981c69f2214c The commit added a wrong chip definition to radeonfb which causes a blank console on my Laptop if radeonfb is loaded. The patch - renames PCI_CHIP_RS485_5975 to PCI_CHIP_RS482_5975 - corrects the chip family (RS480 instead of R300) for 0x5975 - ensures that PCI IDs are in ascending order in ati_ids.h Signed-off-by: Andreas Herrmann <aherrman@arcor.de> Tentatively-acked-by: Ben Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/video/aty/ati_ids.h12
-rw-r--r--drivers/video/aty/radeon_base.c3
2 files changed, 7 insertions, 8 deletions
diff --git a/drivers/video/aty/ati_ids.h b/drivers/video/aty/ati_ids.h
index 685a754991c6..dca2eb8f2dde 100644
--- a/drivers/video/aty/ati_ids.h
+++ b/drivers/video/aty/ati_ids.h
@@ -192,6 +192,12 @@
192#define PCI_CHIP_RS300_5835 0x5835 192#define PCI_CHIP_RS300_5835 0x5835
193#define PCI_CHIP_RS300_5836 0x5836 193#define PCI_CHIP_RS300_5836 0x5836
194#define PCI_CHIP_RS300_5837 0x5837 194#define PCI_CHIP_RS300_5837 0x5837
195#define PCI_CHIP_RS480_5955 0x5955
196#define PCI_CHIP_RV280_5960 0x5960
197#define PCI_CHIP_RV280_5961 0x5961
198#define PCI_CHIP_RV280_5962 0x5962
199#define PCI_CHIP_RV280_5964 0x5964
200#define PCI_CHIP_RS482_5975 0x5975
195#define PCI_CHIP_RV370_5B60 0x5B60 201#define PCI_CHIP_RV370_5B60 0x5B60
196#define PCI_CHIP_RV370_5B61 0x5B61 202#define PCI_CHIP_RV370_5B61 0x5B61
197#define PCI_CHIP_RV370_5B62 0x5B62 203#define PCI_CHIP_RV370_5B62 0x5B62
@@ -200,14 +206,8 @@
200#define PCI_CHIP_RV370_5B65 0x5B65 206#define PCI_CHIP_RV370_5B65 0x5B65
201#define PCI_CHIP_RV370_5B66 0x5B66 207#define PCI_CHIP_RV370_5B66 0x5B66
202#define PCI_CHIP_RV370_5B67 0x5B67 208#define PCI_CHIP_RV370_5B67 0x5B67
203#define PCI_CHIP_RV280_5960 0x5960
204#define PCI_CHIP_RV280_5961 0x5961
205#define PCI_CHIP_RV280_5962 0x5962
206#define PCI_CHIP_RV280_5964 0x5964
207#define PCI_CHIP_RS485_5975 0x5975
208#define PCI_CHIP_RV280_5C61 0x5C61 209#define PCI_CHIP_RV280_5C61 0x5C61
209#define PCI_CHIP_RV280_5C63 0x5C63 210#define PCI_CHIP_RV280_5C63 0x5C63
210#define PCI_CHIP_R423_5D57 0x5D57 211#define PCI_CHIP_R423_5D57 0x5D57
211#define PCI_CHIP_RS350_7834 0x7834 212#define PCI_CHIP_RS350_7834 0x7834
212#define PCI_CHIP_RS350_7835 0x7835 213#define PCI_CHIP_RS350_7835 0x7835
213#define PCI_CHIP_RS480_5955 0x5955
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
index 5a8af4da4ce8..4b747bdaeea6 100644
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -102,6 +102,7 @@
102static struct pci_device_id radeonfb_pci_table[] = { 102static struct pci_device_id radeonfb_pci_table[] = {
103 /* Radeon Xpress 200m */ 103 /* Radeon Xpress 200m */
104 CHIP_DEF(PCI_CHIP_RS480_5955, RS480, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY), 104 CHIP_DEF(PCI_CHIP_RS480_5955, RS480, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY),
105 CHIP_DEF(PCI_CHIP_RS482_5975, RS480, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY),
105 /* Mobility M6 */ 106 /* Mobility M6 */
106 CHIP_DEF(PCI_CHIP_RADEON_LY, RV100, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY), 107 CHIP_DEF(PCI_CHIP_RADEON_LY, RV100, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
107 CHIP_DEF(PCI_CHIP_RADEON_LZ, RV100, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY), 108 CHIP_DEF(PCI_CHIP_RADEON_LZ, RV100, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
@@ -153,8 +154,6 @@ static struct pci_device_id radeonfb_pci_table[] = {
153 /* Mobility 9200 (M9+) */ 154 /* Mobility 9200 (M9+) */
154 CHIP_DEF(PCI_CHIP_RV280_5C61, RV280, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY), 155 CHIP_DEF(PCI_CHIP_RV280_5C61, RV280, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
155 CHIP_DEF(PCI_CHIP_RV280_5C63, RV280, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY), 156 CHIP_DEF(PCI_CHIP_RV280_5C63, RV280, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
156 /*Mobility Xpress 200 */
157 CHIP_DEF(PCI_CHIP_RS485_5975, R300, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY),
158 /* 9200 */ 157 /* 9200 */
159 CHIP_DEF(PCI_CHIP_RV280_5960, RV280, CHIP_HAS_CRTC2), 158 CHIP_DEF(PCI_CHIP_RV280_5960, RV280, CHIP_HAS_CRTC2),
160 CHIP_DEF(PCI_CHIP_RV280_5961, RV280, CHIP_HAS_CRTC2), 159 CHIP_DEF(PCI_CHIP_RV280_5961, RV280, CHIP_HAS_CRTC2),