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

* Re: [PATCH 3/7] DRM: correct PCI domain setting for ALPHA
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Airlie @ 2007-04-11  9:31 UTC (permalink / raw)
  To: Ivan Kokshaysky
  Cc: Andrew Morton, Richard Henderson, Jay Estabrook, linux-kernel

NAK

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.

On 4/11/07, Ivan Kokshaysky <ink@jurassic.park.msu.ru> wrote:
> 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
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

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

* Re: [PATCH 3/7] DRM: correct PCI domain setting for ALPHA
  2007-04-11  9:31 ` Dave Airlie
@ 2007-04-11  9:42   ` Ivan Kokshaysky
  0 siblings, 0 replies; 3+ messages in thread
From: Ivan Kokshaysky @ 2007-04-11  9:42 UTC (permalink / raw)
  To: Dave Airlie; +Cc: Andrew Morton, Richard Henderson, Jay Estabrook, linux-kernel

On Wed, Apr 11, 2007 at 07:31:10PM +1000, Dave Airlie wrote:
> 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.

^ 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®