[PATCH 3/7] DRM: correct PCI domain setting for ALPHA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


Signed-off-by: Jay Estabrook <[email protected]>
Signed-off-by: Ivan Kokshaysky <[email protected]>

---

diff -Naurp a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
--- a/drivers/char/drm/drmP.h	2007-04-02 13:03:24.000000000 -0400
+++ b/drivers/char/drm/drmP.h	2007-04-02 13:49:38.000000000 -0400
@@ -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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux