This device also has some other IRQ's unrelated to rings which are named with another convention. Signed-off-by: Stephen Hemminger --- a/drivers/net/niu.c 2011-06-21 09:57:00.739951363 -0700 +++ b/drivers/net/niu.c 2011-06-21 09:59:22.683951282 -0700 @@ -6048,11 +6048,12 @@ static void niu_set_irq_name(struct niu for (i = 0; i < np->num_ldg - j; i++) { if (i < np->num_rx_rings) - sprintf(np->irq_name[i+j], "%s-rx-%d", - np->dev->name, i); + netdev_irqname(np->irq_name[i+j], IFNAMSIZ+6, + np->dev, NETIF_IRQ_RX, i); else if (i < np->num_tx_rings + np->num_rx_rings) - sprintf(np->irq_name[i+j], "%s-tx-%d", np->dev->name, - i - np->num_rx_rings); + netdev_irqname(np->irq_name[i+j], IFNAMSIZ+6, + np->dev, NETIF_IRQ_TX, + i - np->num_rx_rings); } } -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html