]> err.no Git - linux-2.6/commit
[SPARC]: Fix initialization of sun4d SBUS interrupts.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 18 Jul 2006 04:39:09 +0000 (21:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 21 Jul 2006 21:18:11 +0000 (14:18 -0700)
commit9d7ab1f4d56dffcddc1177b3cd55b6da6620e1e1
treea551efc605c7b4d10af4df101470c17308b7822e
parent67e23a1e60b6bc0a090407d0fc060166ab558b72
[SPARC]: Fix initialization of sun4d SBUS interrupts.

1) Explicitly traverse to the root looking for the "sbi".
2) Grab the "board#" property from the sbi's parent and
   verify that this parent is an "io-unit" node.
3) Skip IRQ initialization when device lacks "reg" property.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/of_device.c