mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 3/7] DRM: correct PCI domain setting for ALPHA
@ 2007-04-11  8:29 Ivan Kokshaysky
  2007-04-11  9:31 ` Dave Airlie
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Kokshaysky @ 2007-04-11  8:29 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Richard Henderson, Jay Estabrook, linux-kernel

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 <jay.estabrook@hp.com>
Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>

---

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-11  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-11  8:29 [PATCH 3/7] DRM: correct PCI domain setting for ALPHA Ivan Kokshaysky
2007-04-11  9:31 ` Dave Airlie
2007-04-11  9:42   ` Ivan Kokshaysky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®