drm: domain changes broke ppc r200
authorDave Airlie <airlied@linux.ie>
Thu, 21 Sep 2006 17:37:19 +0000 (03:37 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 21 Sep 2006 19:32:33 +0000 (05:32 +1000)
Freedesktop.org bug #8246

The domain changes regressed on PPC, go back to just using 0,
as X.org's domain support is crap

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drmP.h

index 84e9c18fdbef0902fe4f200386c3e27250cf254f..4363f6e50c77e647b8b0b8a10428f2b814c3dcd9 100644 (file)
@@ -747,7 +747,7 @@ static __inline__ int drm_core_check_feature(struct drm_device *dev,
 #ifdef __alpha__
 #define drm_get_pci_domain(dev) dev->hose->bus->number
 #else
-#define drm_get_pci_domain(dev) pci_domain_nr(dev->pdev->bus)
+#define drm_get_pci_domain(dev) 0
 #endif
 
 #if __OS_HAS_AGP