[SPARC64]: Fix 'niu' complex IRQ probing.

They should be computed the same as how we compute
them under 'virtual-devices'.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2007-10-04 15:03:35 -07:00
parent 1177bf9704
commit b2b27757b6

View file

@ -1046,7 +1046,8 @@ static void __init irq_trans_init(struct device_node *dp)
if (!strcmp(dp->name, "fhc") && if (!strcmp(dp->name, "fhc") &&
!strcmp(dp->parent->name, "central")) !strcmp(dp->parent->name, "central"))
return central_irq_trans_init(dp); return central_irq_trans_init(dp);
if (!strcmp(dp->name, "virtual-devices")) if (!strcmp(dp->name, "virtual-devices") ||
!strcmp(dp->name, "niu"))
return sun4v_vdev_irq_trans_init(dp); return sun4v_vdev_irq_trans_init(dp);
} }