commit | 3e7b6c1f2db5ec31f9e7dbc3e0cbca602167a46a | [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 | 5052a771cf1722c37c732f3c340775b55fbe3a22 [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>