linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cris/PCI: Remove pci_mem_start
@ 2013-09-28 17:55 Myron Stowe
  2013-10-04 20:21 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Myron Stowe @ 2013-09-28 17:55 UTC (permalink / raw)
  To: starvik, jesper.nilsson, bhelgaas
  Cc: linux-cris-kernel, linux-pci, linux-kernel

Remove unused 'pci_mem_start' variable.

CC: Mikael Starvik <starvik@axis.com>
CC: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
---

 arch/cris/include/asm/pci.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/cris/include/asm/pci.h b/arch/cris/include/asm/pci.h
index 146da90..f666734 100644
--- a/arch/cris/include/asm/pci.h
+++ b/arch/cris/include/asm/pci.h
@@ -11,7 +11,6 @@
 
 #define pcibios_assign_all_busses(void) 1
 
-extern unsigned long pci_mem_start;
 #define PCIBIOS_MIN_IO		0x1000
 #define PCIBIOS_MIN_MEM		0x10000000
 


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

* Re: [PATCH] cris/PCI: Remove pci_mem_start
  2013-09-28 17:55 [PATCH] cris/PCI: Remove pci_mem_start Myron Stowe
@ 2013-10-04 20:21 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2013-10-04 20:21 UTC (permalink / raw)
  To: Myron Stowe
  Cc: starvik, jesper.nilsson, linux-cris-kernel,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org

On Sat, Sep 28, 2013 at 11:55 AM, Myron Stowe <myron.stowe@redhat.com> wrote:
> Remove unused 'pci_mem_start' variable.
>
> CC: Mikael Starvik <starvik@axis.com>
> CC: Jesper Nilsson <jesper.nilsson@axis.com>
> Signed-off-by: Myron Stowe <myron.stowe@redhat.com>

Applied to pci/misc, thanks!

It'd be nice if we could someday get rid of PCIBIOS_MIN_IO and
PCIBIOS_MIN_MEM, too.  They're really just relics from the days when
we assumed there was a single host bridge, and we didn't have any idea
what the host bridge apertures were (or we assumed the host bridge
essentially subtractively decoded everything).

Now that we can tell the PCI core about host bridge apertures, the
arch should be able to achieve the effect of PCIBIOS_MIN_MEM by
clipping the window itself.

Bjorn

> ---
>
>  arch/cris/include/asm/pci.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/arch/cris/include/asm/pci.h b/arch/cris/include/asm/pci.h
> index 146da90..f666734 100644
> --- a/arch/cris/include/asm/pci.h
> +++ b/arch/cris/include/asm/pci.h
> @@ -11,7 +11,6 @@
>
>  #define pcibios_assign_all_busses(void) 1
>
> -extern unsigned long pci_mem_start;
>  #define PCIBIOS_MIN_IO         0x1000
>  #define PCIBIOS_MIN_MEM                0x10000000
>
>

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

end of thread, other threads:[~2013-10-04 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-28 17:55 [PATCH] cris/PCI: Remove pci_mem_start Myron Stowe
2013-10-04 20:21 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).