[PATCH 07/15] [POWERPC] Removed remnants of bus_offset
Kumar Gala
galak at kernel.crashing.org
Wed Jun 27 14:27:29 EST 2007
On Jun 26, 2007, at 8:22 PM, David Gibson wrote:
> On Tue, Jun 26, 2007 at 08:16:37PM -0500, Kumar Gala wrote:
>> Removed the remants of bus_offset and use self_busno in the
>> mv64x60 case
>> and use pci_assign_all_buses on 83xx/85xx.
>>
>> 83xx/85xx have multiple PHBs and the firmwares on these devices
>> tend not
>> to handle topologies with P2P bridges well so we let Linux just
>> reassign
>> the bus numbers to match.
>
> [snip]
>> diff --git a/include/asm-ppc/pci-bridge.h b/include/asm-ppc/pci-
>> bridge.h
>> index 2c2abda..70aab66 100644
>> --- a/include/asm-ppc/pci-bridge.h
>> +++ b/include/asm-ppc/pci-bridge.h
>> @@ -48,6 +48,7 @@ struct pci_controller {
>> int first_busno;
>> int last_busno;
>> int self_busno;
>> + /* bus_offset is only used by ARCH=ppc */
>> int bus_offset;
>>
>> void __iomem *io_base_virt;
>
> Might be a good time to copy asm-ppc/pci-bridge.h to
> asm-powerpc/pci-bridge-32.h, yeah?
Yeah I'll look at something towards that, seeing as its one of the
few headers we are including directly.
- k
More information about the Linuxppc-dev
mailing list