changeset 11371:9cd1546f26ea

patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu> Following patch adds ID of Radeon 9800 (non pro) (R350) to mplayer pci database, thus enabling vidix for it. Vidix works great on it... Well, not exactly great, just the same way it works on other radeons.
author attila
date Mon, 03 Nov 2003 10:30:20 +0000
parents 80969afd4a0c
children 3761aff4722e
files libdha/oth/pci.db vidix/drivers/radeon_vid.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/oth/pci.db	Mon Nov 03 06:24:59 2003 +0000
+++ b/libdha/oth/pci.db	Mon Nov 03 10:30:20 2003 +0000
@@ -272,6 +272,8 @@
 d	10024e46	Radeon R300 NF [Radeon 9700]	0	
 d	10024e47	Radeon R300 NG [Radeon 9700]	0	
 d	10024e64	Radeon R300 [Radeon 9700] (Secondary)	0	
+d	10024e48	Radeon R350 NH [Radeon 9800]	0
+d	10024e68	Radeon R350 [Radeon 9800] (Secondary)	0
 d	10025041	Rage 128 PA/PRO	0	
 d	10025042	Rage 128 PB/PRO AGP 2x	0	
 d	10025043	Rage 128 PC/PRO AGP 4x	0	
--- a/vidix/drivers/radeon_vid.c	Mon Nov 03 06:24:59 2003 +0000
+++ b/vidix/drivers/radeon_vid.c	Mon Nov 03 10:30:20 2003 +0000
@@ -861,7 +861,8 @@
  DEVICE_ATI_RADEON_R300_ND,
  DEVICE_ATI_RADEON_R300_NE,
  DEVICE_ATI_RADEON_R300_NF,
- DEVICE_ATI_RADEON_R300_NG
+ DEVICE_ATI_RADEON_R300_NG,
+ DEVICE_ATI_RADEON_R350_NH
 #endif
 };
 
@@ -993,6 +994,11 @@
             case DEVICE_ATI_RADEON_R300_NG:
               RadeonFamily = 300;
               break;
+
+            case DEVICE_ATI_RADEON_R350_NH:
+              RadeonFamily = 350;
+              break;
+
             default:
               break;
           }