commit | 666ced1911e15eb2bcb1239c71efd3505bd5a259 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Wed Sep 02 09:03:08 2009 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Tue Sep 08 09:10:07 2009 -0500 |
tree | a10000c36ecf3385327c86e27955a74718e67680 | |
parent | 591ac075914d12a6693627012c7e975671e3b8ca [diff] |
ppc/8xxx: Refactor code to determine if PCI is enabled & agent/host Refactor the code into a simple bitmask lookup table that determines if a given PCI controller is enabled and if its in host/root-complex or agent/end-point mode. Each processor in the PQ3/MPC86xx family specified different encodings for the cfg_host_agt[] and cfg_IO_ports[] boot strapping signals. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>