aboutsummaryrefslogtreecommitdiffhomepage
path: root/drivers/radeon
diff options
context:
space:
mode:
authorGravatar nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-18 16:14:17 +0000
committerGravatar nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-18 16:14:17 +0000
commit413a6e1e3704c47485b611c38829edd5491b7f08 (patch)
treef56acbff714dd8e688cf1ef5bd5bf2ca241074bf /drivers/radeon
parent2db6c34c7ca616117405b4a5cee6c8a4ff90cd34 (diff)
Radeon VE support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1913 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'drivers/radeon')
-rw-r--r--drivers/radeon/radeon.h1
-rw-r--r--drivers/radeon/radeonfb.c12
2 files changed, 10 insertions, 3 deletions
diff --git a/drivers/radeon/radeon.h b/drivers/radeon/radeon.h
index 73ae66aa7b..3811228937 100644
--- a/drivers/radeon/radeon.h
+++ b/drivers/radeon/radeon.h
@@ -7,6 +7,7 @@
#define PCI_DEVICE_ID_RADEON_QE 0x5145
#define PCI_DEVICE_ID_RADEON_QF 0x5146
#define PCI_DEVICE_ID_RADEON_QG 0x5147
+#define PCI_DEVICE_ID_RADEON_VE 0x5159
#define RADEON_REGSIZE 0x4000
diff --git a/drivers/radeon/radeonfb.c b/drivers/radeon/radeonfb.c
index c4f3b52f0f..e3ee2f9cb9 100644
--- a/drivers/radeon/radeonfb.c
+++ b/drivers/radeon/radeonfb.c
@@ -12,13 +12,14 @@
* 2001-07-05 fixed scrolling issues, engine initialization,
* and minor mode tweaking, 0.0.9
*
+ * 2001-09-07 Radeon VE support
*
* Special thanks to ATI DevRel team for their hardware donations.
*
*/
-#define RADEON_VERSION "0.0.9"
+#define RADEON_VERSION "0.0.10"
#include <linux/config.h>
@@ -62,7 +63,8 @@ enum radeon_chips {
RADEON_QD,
RADEON_QE,
RADEON_QF,
- RADEON_QG
+ RADEON_QG,
+ RADEON_VE
};
@@ -71,6 +73,7 @@ static struct pci_device_id radeonfb_pci_table[] __devinitdata = {
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QE},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QF},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QG, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QG},
+ { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_VE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_VE},
{ 0, }
};
MODULE_DEVICE_TABLE(pci, radeonfb_pci_table);
@@ -640,6 +643,9 @@ static int radeonfb_pci_register (struct pci_dev *pdev,
case PCI_DEVICE_ID_RADEON_QG:
strcpy(rinfo->name, "Radeon QG ");
break;
+ case PCI_DEVICE_ID_RADEON_VE:
+ strcpy(rinfo->name, "Radeon VE ");
+ break;
default:
return -ENODEV;
}
@@ -755,7 +761,7 @@ static int radeonfb_pci_register (struct pci_dev *pdev,
radeon_engine_init (rinfo);
}
- printk ("radeonfb: ATI Radeon %s %d MB\n", rinfo->ram_type,
+ printk ("radeonfb: ATI %s %d MB\n", rinfo->name,
(rinfo->video_ram/(1024*1024)));
return 0;