changeset 23167:2ab3eac7f6da

synced with upstream vidix, prevented some drivers to work on some configs/archs
author ben
date Mon, 30 Apr 2007 22:14:29 +0000
parents 9a4634744b41
children 8a3e20d054e2
files vidix/cyberblade_vid.c vidix/mach64_vid.c vidix/mga_vid.c vidix/pm3_vid.c vidix/radeon_vid.c
diffstat 5 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/cyberblade_vid.c	Mon Apr 30 12:00:13 2007 +0000
+++ b/vidix/cyberblade_vid.c	Mon Apr 30 22:14:29 2007 +0000
@@ -143,11 +143,13 @@
 				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));
--- a/vidix/mach64_vid.c	Mon Apr 30 12:00:13 2007 +0000
+++ b/vidix/mach64_vid.c	Mon Apr 30 22:14:29 2007 +0000
@@ -434,11 +434,13 @@
 	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" : "");
--- a/vidix/mga_vid.c	Mon Apr 30 12:00:13 2007 +0000
+++ b/vidix/mga_vid.c	Mon Apr 30 22:14:29 2007 +0000
@@ -1110,11 +1110,13 @@
 		    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:
--- a/vidix/pm3_vid.c	Mon Apr 30 12:00:13 2007 +0000
+++ b/vidix/pm3_vid.c	Mon Apr 30 22:14:29 2007 +0000
@@ -108,11 +108,13 @@
 		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));
--- a/vidix/radeon_vid.c	Mon Apr 30 12:00:13 2007 +0000
+++ b/vidix/radeon_vid.c	Mon Apr 30 22:14:29 2007 +0000
@@ -1293,11 +1293,13 @@
 	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)
 	{