ps3: use ethX as the name of irq
Masakazu Mokuno [Fri, 20 Jul 2007 08:33:02 +0000 (17:33 +0900)]
Use net_device name for registration of irq as many network drivers do.

Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

drivers/net/ps3_gelic_net.c

index 2f515b8..0a515a5 100644 (file)
@@ -1073,7 +1073,7 @@ static int gelic_net_open_device(struct gelic_net_card *card)
        }
 
        result = request_irq(card->netdev->irq, gelic_net_interrupt,
-                            IRQF_DISABLED, "gelic network", card->netdev);
+                            IRQF_DISABLED, card->netdev->name, card->netdev);
 
        if (result) {
                dev_info(ctodev(card), "%s:%d: request_irq failed (%d)\n",