PS3: gelic: Fix the wrong dev_id passed
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>
Thu, 7 Feb 2008 10:57:41 +0000 (19:57 +0900)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 15:29:38 +0000 (10:29 -0500)
The device id for lv1_net_set_interrupt_status_indicator() is wrong.
This path would be invoked only in the case of an initialization failure.

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 055af08..f6fb556 100644 (file)
@@ -1512,7 +1512,7 @@ static int ps3_gelic_driver_probe (struct ps3_system_bus_device *dev)
 
 fail_setup_netdev:
        lv1_net_set_interrupt_status_indicator(bus_id(card),
-                                              bus_id(card),
+                                              dev_id(card),
                                               0 , 0);
 fail_status_indicator:
        ps3_dma_region_free(dev->d_region);