File xf86-video-nv-probe.diff of Package xf86-video-nv

Index: xf86-video-nv-2.1.20/src/nv_driver.c
===================================================================
--- xf86-video-nv-2.1.20.orig/src/nv_driver.c
+++ xf86-video-nv-2.1.20/src/nv_driver.c
@@ -911,6 +911,7 @@ NVPciProbe(DriverPtr drv, int entity, st
                       NVGetPCIXpressChip(dev) : dev->vendor_id << 16 | dev->device_id;
     const char *name = xf86TokenToString(NVKnownChipsets, id);
 
+#ifndef __powerpc__
     if (pci_device_has_kernel_driver(dev)) {
         xf86DrvMsg(0, X_ERROR,
                    NV_NAME ": The PCI device 0x%x (%s) at %2.2d@%2.2d:%2.2d:%1.1d has a kernel module claiming it.\n",
@@ -919,6 +920,7 @@ NVPciProbe(DriverPtr drv, int entity, st
                    NV_NAME ": This driver cannot operate until it has been unloaded.\n");
         return FALSE;
     }
+#endif
 
     if(dev->vendor_id == PCI_VENDOR_NVIDIA && !name &&
        !NVIsSupported(id) && !NVIsG80(id)) {
openSUSE Build Service is sponsored by