fix detection of rage128/radeon using vidix driver on powerpc (which seems to keep them disabled), no impact on other archs

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21819 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2007-01-04 16:10:40 +00:00
parent c796e21e3c
commit 7c988dfea3
1 changed files with 2 additions and 0 deletions

View File

@ -1007,11 +1007,13 @@ int vixProbe( int verbose,int force )
dname = pci_device_name(VENDOR_ATI,lst[i].device); dname = pci_device_name(VENDOR_ATI,lst[i].device);
dname = dname ? dname : "Unknown chip"; dname = dname ? dname : "Unknown chip";
printf(RADEON_MSG" Found chip: %s\n",dname); printf(RADEON_MSG" Found chip: %s\n",dname);
#if 0
if ((lst[i].command & PCI_COMMAND_IO) == 0) if ((lst[i].command & PCI_COMMAND_IO) == 0)
{ {
printf("[radeon] Device is disabled, ignoring\n"); printf("[radeon] Device is disabled, ignoring\n");
continue; continue;
} }
#endif
#ifndef RAGE128 #ifndef RAGE128
if(idx != -1) if(idx != -1)
#ifdef HAVE_X11 #ifdef HAVE_X11