synced with upstream vidix, prevented some drivers to work on some configs/archs
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 30 Apr 2007 22:14:29 +0000 (22:14 +0000)
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 30 Apr 2007 22:14:29 +0000 (22:14 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@23185 b3059339-0415-0410-9bf9-f77b7e298cf2

vidix/cyberblade_vid.c
vidix/mach64_vid.c
vidix/mga_vid.c
vidix/pm3_vid.c
vidix/radeon_vid.c

index 45de589..2e56cb8 100644 (file)
@@ -143,11 +143,13 @@ static int cyberblade_probe(int verbose, int force)
                                dname = pci_device_name(VENDOR_TRIDENT, lst[i].device);
                                dname = dname ? dname : "Unknown chip";
                                printf("[cyberblade] Found chip: %s\n", dname);
-                               if ((lst[i].command & PCI_COMMAND_IO) == 0)
+#if 0
+                                if ((lst[i].command & PCI_COMMAND_IO) == 0)
                                {
                                        printf("[cyberblade] Device is disabled, ignoring\n");
                                        continue;
                                }
+#endif
                                cyberblade_cap.device_id = lst[i].device;
                                err = 0;
                                memcpy(&pci_info, &lst[i], sizeof(pciinfo_t));
index 93f85b8..4a1f111 100644 (file)
@@ -434,11 +434,13 @@ static int mach64_probe(int verbose,int force)
        dname = pci_device_name(VENDOR_ATI,lst[i].device);
        dname = dname ? dname : "Unknown chip";
        printf("[mach64] Found chip: %s\n",dname);
+#if 0
        if ((lst[i].command & PCI_COMMAND_IO) == 0)
        {
                printf("[mach64] Device is disabled, ignoring\n");
                continue;
        }
+#endif
        if(force > PROBE_NORMAL)
        {
            printf("[mach64] Driver was forced. Was found %sknown chip\n",idx == -1 ? "un" : "");
index a48c9a2..9059a9f 100644 (file)
@@ -1110,11 +1110,13 @@ static int mga_probe(int verbose,int force)
                    i, lst[i].vendor, lst[i].device);
            if (lst[i].vendor == VENDOR_MATROX)
            {
+#if 0
                if ((lst[i].command & PCI_COMMAND_IO) == 0)
                {
                        printf("[mga] Device is disabled, ignoring\n");
                        continue;
                }
+#endif
                switch(lst[i].device)
                {
                    case DEVICE_MATROX_MGA_G550_AGP:
index d9b463e..6bdfd33 100644 (file)
@@ -108,11 +108,13 @@ static int pm3_probe(int verbose, int force)
                dname = pci_device_name(VENDOR_3DLABS, lst[i].device);
                dname = dname ? dname : "Unknown chip";
                printf("[pm3] Found chip: %s\n", dname);
+#if 0
                if ((lst[i].command & PCI_COMMAND_IO) == 0)
                {
                        printf("[pm3] Device is disabled, ignoring\n");
                        continue;
                }
+#endif
                pm3_cap.device_id = lst[i].device;
                err = 0;
                memcpy(&pci_info, &lst[i], sizeof(pciinfo_t));
index 075f311..ef7d472 100644 (file)
@@ -1293,11 +1293,13 @@ static int radeon_probe(int verbose, int force)
        dname = pci_device_name(VENDOR_ATI,lst[i].device);
        dname = dname ? dname : "Unknown chip";
        printf(RADEON_MSG" Found chip: %s\n",dname);
+#if 0
         if ((lst[i].command & PCI_COMMAND_IO) == 0)
         {
           printf("[radeon] Device is disabled, ignoring\n");
           continue;
         }
+#endif
        memset(&besr,0,sizeof(bes_registers_t));
        if(force > PROBE_NORMAL)
        {