diff options
Diffstat (limited to 'vidix/drivers/mach64_vid.c')
-rw-r--r-- | vidix/drivers/mach64_vid.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vidix/drivers/mach64_vid.c b/vidix/drivers/mach64_vid.c index 5f3228235d..4a6cf0df07 100644 --- a/vidix/drivers/mach64_vid.c +++ b/vidix/drivers/mach64_vid.c @@ -421,6 +421,11 @@ int vixProbe(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 ((lst[i].command & PCI_COMMAND_IO) == 0) + { + printf("[mach64] Device is disabled, ignoring\n"); + continue; + } if(force > PROBE_NORMAL) { printf("[mach64] Driver was forced. Was found %sknown chip\n",idx == -1 ? "un" : ""); |