From 9b1a51b69c89028f18277e235533c160e7506ebb Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 22 Sep 2006 03:37:19 +1000 Subject: drm: domain changes broke ppc r200 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 --- drivers/char/drm/drmP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index 84e9c18fdbef..4363f6e50c77 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h @@ -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 -- cgit v1.2.2