Adding 'bus_offset' to pci_controller

Mark A. Greer mgreer at mvista.com
Thu Sep 27 09:29:00 EST 2001


"Mark A. Greer" wrote:

> Paul Mackerras wrote:
>
> > For now something like what you have suggested should be OK except
> > that I would note that you could use the host->first_busno field,
> > which already exists, instead of adding a new field.
>
> Oh man, DUH...
>
> Thanks Paul, I'll make the change & push it in.

Wait, I can't b/c then *everyone* will have this subtraction happen and
everyone but me would be broken.
With a separate field, I don't mess up other  board ports.

Another way to go would be to #ifdef your suggestion into indirect_pci.c
for my board only.
Which do you prefer?

Mark


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list