Adding 'bus_offset' to pci_controller

Paul Mackerras paulus at samba.org
Thu Sep 27 10:59:32 EST 2001


Mark A. Greer writes:

> 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.

Well, how many other boards are there out there that use
indirect_pci.c and have more than one host bridge?  Anyone?

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

Not the ifdef. :)  Either make your own version of the indirect_pci
routines or add the field.

Paul.

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





More information about the Linuxppc-embedded mailing list