[PATCH] SPARC64: Fix central/FHC bus handling on Ex000 systems.
authorDavid Miller <davem@davemloft.net>
Thu, 26 Oct 2006 06:50:12 +0000 (23:50 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 4 Nov 2006 01:33:46 +0000 (17:33 -0800)
commit59bf9f2fd5c23b6776520d75c67825a33f4fbbbc
tree62d33d92faf4bc00d97258369290c2357f384bf7
parent9b2e07b8574e21554a381e065efd7050f96eaead
[PATCH] SPARC64: Fix central/FHC bus handling on Ex000 systems.

1) probe_other_fhcs() wants to see only non-central FHC
   busses, so skip FHCs that don't sit off the root

2) Like SBUS, FHC can lack the appropriate address and
   size cell count properties, so add an of_busses[]
   entry and handlers for that.

3) Central FHC irq translator probing was buggy.  We
   were trying to use dp->child in irq_trans_init but
   that linkage is not setup at this point.

   So instead, pass in the parent of "dp" and look for
   the child "fhc" with parent "central".

Thanks to the tireless assistence of Ben Collins in tracking
down these problems and testing out these fixes.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/sparc64/kernel/central.c
arch/sparc64/kernel/of_device.c
arch/sparc64/kernel/prom.c