From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Richard Henderson <rth@twiddle.net>,
Jay Estabrook <jay.estabrook@hp.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 3/7] DRM: correct PCI domain setting for ALPHA
Date: Wed, 11 Apr 2007 12:29:11 +0400 [thread overview]
Message-ID: <20070411122911.D17547@jurassic.park.msu.ru> (raw)
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
next reply other threads:[~2007-04-11 8:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-11 8:29 Ivan Kokshaysky [this message]
2007-04-11 9:31 ` Dave Airlie
2007-04-11 9:42 ` Ivan Kokshaysky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070411122911.D17547@jurassic.park.msu.ru \
--to=ink@jurassic.park.msu.ru \
--cc=akpm@linux-foundation.org \
--cc=jay.estabrook@hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®