* [PATCH] add device id to radeonfb for 2.6.2
@ 2004-02-06 11:40 Andreas Steinmetz
0 siblings, 0 replies; only message in thread
From: Andreas Steinmetz @ 2004-02-06 11:40 UTC (permalink / raw)
To: ajoshi; +Cc: linux-fbdev-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
The attached patch adds the pci id 5961 to radeonfb. Without the patch
my 9200 displays only a blank screen. lspci output below. The patch is
against 2.6.2.
05:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV280
[Radeon 9200] (rev 01) (prog-if 00 [VGA])
Subsystem: Giga-byte Technology: Unknown device 4018
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 16
Memory at e0000000 (32-bit, prefetchable) [size=128M]
I/O ports at b800 [size=256]
Memory at feaf0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at feac0000 [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Capabilities: [50] Power Management version 2
--
Andreas Steinmetz
[-- Attachment #2: radeon.patch --]
[-- Type: text/plain, Size: 1574 bytes --]
diff -rNu linux-2.6.2-orig/drivers/video/radeonfb.c linux-2.6.2/drivers/video/radeonfb.c
--- linux-2.6.2-orig/drivers/video/radeonfb.c 2004-02-04 04:44:55.000000000 +0100
+++ linux-2.6.2/drivers/video/radeonfb.c 2004-02-06 11:55:18.000000000 +0100
@@ -114,6 +114,7 @@
RADEON_Ie,
RADEON_If,
RADEON_Ig,
+ RADEON_Ya,
RADEON_Yd,
RADEON_Ld,
RADEON_Le,
@@ -208,6 +209,7 @@
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ie, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Ie},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_If, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_If},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ig, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Ig},
+ { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ya, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Ya},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Yd, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Yd},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ld, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Ld},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Le, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Le},
diff -rNu linux-2.6.2-orig/include/linux/pci_ids.h linux-2.6.2/include/linux/pci_ids.h
--- linux-2.6.2-orig/include/linux/pci_ids.h 2004-02-04 04:43:43.000000000 +0100
+++ linux-2.6.2/include/linux/pci_ids.h 2004-02-06 11:45:51.000000000 +0100
@@ -291,6 +291,7 @@
#define PCI_DEVICE_ID_ATI_RADEON_Ig 0x4967
/* Radeon RV280 (9200) */
#define PCI_DEVICE_ID_ATI_RADEON_Y_ 0x5960
+#define PCI_DEVICE_ID_ATI_RADEON_Ya 0x5961
#define PCI_DEVICE_ID_ATI_RADEON_Yd 0x5964
/* Radeon R300 (9500) */
#define PCI_DEVICE_ID_ATI_RADEON_AD 0x4144
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-06 11:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-06 11:40 [PATCH] add device id to radeonfb for 2.6.2 Andreas Steinmetz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.