From: Jon Loeliger <jdl@freescale.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>
Subject: Re: [RFC/PATCH 5/10] powerpc: pci32: Remove obsolete PowerMac bus number hack
Date: Thu, 06 Dec 2007 11:02:50 -0600 [thread overview]
Message-ID: <1196960570.18340.9.camel@ld0161-tx32> (raw)
In-Reply-To: <20071206081245.EBC65DE18E@ozlabs.org>
On Thu, 2007-12-06 at 02:11, Benjamin Herrenschmidt wrote:
> The 32 bits PCI code carries an old hack that was only useful for G5
> machines. Nowdays, the 32 bits kernel doesn't support any of those
> machines anymore so the hack is basically never used, remove it.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
>
> arch/powerpc/kernel/pci_32.c | 11 -----------
> 1 file changed, 11 deletions(-)
>
> Index: linux-work/arch/powerpc/kernel/pci_32.c
> ===================================================================
> --- linux-work.orig/arch/powerpc/kernel/pci_32.c 2007-12-05 11:36:30.000000000 +1100
> +++ linux-work/arch/powerpc/kernel/pci_32.c 2007-12-05 11:36:36.000000000 +1100
> @@ -922,17 +922,6 @@ long sys_pciconfig_iobase(long which, un
> struct pci_controller* hose;
> long result = -EOPNOTSUPP;
>
> - /* Argh ! Please forgive me for that hack, but that's the
> - * simplest way to get existing XFree to not lockup on some
> - * G5 machines... So when something asks for bus 0 io base
> - * (bus 0 is HT root), we return the AGP one instead.
> - */
> -#ifdef CONFIG_PPC_PMAC
> - if (machine_is(powermac) && machine_is_compatible("MacRISC4"))
> - if (bus == 0)
> - bus = 0xf0;
> -#endif /* CONFIG_PPC_PMAC */
> -
I believe, with this patch, you are officially forgiven. :-)
jdl
next prev parent reply other threads:[~2007-12-06 17:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-06 8:11 [RFC/PATCH 0/10] powerpc: PCI updates & merges Benjamin Herrenschmidt
2007-12-06 8:11 ` [RFC/PATCH 1/10] powerpc: pci32: remove bogus alignment message Benjamin Herrenschmidt
2007-12-06 8:11 ` [RFC/PATCH 2/10] powerpc: pci32: use generic pci_assign_unassign_resources Benjamin Herrenschmidt
2007-12-06 8:11 ` [RFC/PATCH 3/10] powerpc: pci32: Remove PowerMac P2P bridge IO hack Benjamin Herrenschmidt
2007-12-06 8:11 ` [RFC/PATCH 4/10] powerpc: pci32: Add flags modifying the PCI code behaviour Benjamin Herrenschmidt
2007-12-06 8:11 ` [RFC/PATCH 5/10] powerpc: pci32: Remove obsolete PowerMac bus number hack Benjamin Herrenschmidt
2007-12-06 17:02 ` Jon Loeliger [this message]
2007-12-06 8:11 ` [RFC/PATCH 6/10] powerpc: pci32: Add platform option to enable /proc PCI domains Benjamin Herrenschmidt
2007-12-06 8:11 ` [RFC/PATCH 8/10] powerpc: Merge PCI resource fixups Benjamin Herrenschmidt
2007-12-06 11:51 ` Stephen Rothwell
2007-12-06 8:11 ` [RFC/PATCH 7/10] powerpc: Merge pcibios_resource_to_bus/bus_to_resource Benjamin Herrenschmidt
2007-12-06 8:11 ` [RFC/PATCH 9/10] powerpc: Merge PCI resource allocation & assignment Benjamin Herrenschmidt
2007-12-06 8:11 ` [RFC/PATCH 10/10] powerpc: Clear pci_probe_only on 64 bits PowerMac Benjamin Herrenschmidt
2007-12-07 10:19 ` [RFC/PATCH 0/10] powerpc: PCI updates & merges Stefan Roese
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=1196960570.18340.9.camel@ld0161-tx32 \
--to=jdl@freescale.com \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).