Hi all,

This patch fixes the sunlance driver.

I've tested this on my SS20.
Thanks.

Signed-off-by: Marcel van Nies <[EMAIL PROTECTED]>

--- linux-2.6.21-rc7-git5-up/drivers/net/sunlance.c.org 2007-02-04
19:44:54.000000000 +0100
+++ linux-2.6.21-rc7-git5-up/drivers/net/sunlance.c     2007-04-21
19:36:52.000000000 +0200
@@ -1550,7 +1550,7 @@
        struct lance_private *lp = dev_get_drvdata(&sun4_sdev.ofdev.dev);
        struct net_device *net_dev = lp->dev;

-       unregister_netdevice(net_dev);
+       unregister_netdev(net_dev);

        lance_free_hwresources(lp);

@@ -1590,7 +1590,7 @@
        struct lance_private *lp = dev_get_drvdata(&dev->dev);
        struct net_device *net_dev = lp->dev;

-       unregister_netdevice(net_dev);
+       unregister_netdev(net_dev);

        lance_free_hwresources(lp);
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to