DRM: correct PCI domain setting for ALPHA
PATCH 3/7 DRM: correct PCI domain setting for ALPHA
Files:
drivers/char/drm/drmP.h
The PCI domain is the hose's index, not the hose's root bus number. Note that this code only applies to ALPHA.
---
drivers/char/drm/drmP.h +1 -1
@@ -764,7 +764,7 @@ static __inline__ int drm_core_check_fea }#ifdef __alpha__ -#define drm_get_pci_domain (dev) dev->hose->bus->number +#define drm_get_pci_domain (dev) dev->hose->index#else #define drm_get_pci_domain (dev) 0#endif
Dave Airlie
NAKNAK
I already have this queued in the DRM git tree.. Ivan, Jay can you check an -mm kernel contains it? it'll go in the next merge window..
Dave.
Quoted 31 lines · Ivan Kokshaysky
Files:
drivers/char/drm/drmP.hThe PCI domain is the hose's index, not the hose's root bus number. Note that this code only applies to ALPHA.
Signed-off-by Jay Estabrook <[email protected]>Signed-off-by Ivan Kokshaysky <[email protected]>---
diff -Naurp
a/drivers/char/drm/drmP.hb/drivers/char/drm/drmP.hdrivers/char/drm/drmP.h 2007-04-02 13:49:38.000000000 -0400 renamed from drivers/char/drm/drmP.h 2007-04-02 13:03:24.000000000 -0400 +1
-2@@ -764,7 +764,7 @@ static __inline__ int drm_core_check_fea } #ifdef __alpha__ -#define drm_get_pci_domain(dev) dev->hose->bus->number +#define drm_get_pci_domain(dev) dev->hose->index #else #define drm_get_pci_domain(dev) 0 #endif -To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 2 lines · Dave Airlie
I already have this queued in the DRM git tree.. Ivan, Jay can you check an -mm kernel contains it? it'll go in the next merge window..
Indeed, it's already in -mm tree. Sorry...
Ivan.