commit | 865f24dc92d03928c09b7f20a3133823e53c1ac3 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Wed Sep 02 09:03:08 2009 -0500 |
committer | Tom Rix <Tom.Rix@windriver.com> | Sat Oct 03 09:04:17 2009 -0500 |
tree | 455bd68614d879f650e82fe44f445d903a85e38c | |
parent | 8b8376e81ca725772fa7a3e1b58ca55a761cdf1d [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>