linux-mips
[Top] [All Lists]

[PATCH] Fix to the Broadcom sb1250-mac driver

To: linux-mips@linux-mips.org
Subject: [PATCH] Fix to the Broadcom sb1250-mac driver
From: Manish Lachwani <mlachwani@prometheus.mvista.com>
Date: Thu, 18 Nov 2004 11:32:01 -0800
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
Hi Ralf

Attached is a small patch for the sb1250-mac driver to print the ethernet
device name correctly. This is based on a previous discussion. Please review

Thanks
Manish Lachwani
--- drivers/net/sb1250-mac.c.orig       2004-11-18 11:24:12.000000000 -0800
+++ drivers/net/sb1250-mac.c    2004-11-18 11:27:49.000000000 -0800
@@ -1811,8 +1811,6 @@
        
        /* read system identification to determine revision */
        if (periph_rev >= 2) {
-               printk(KERN_INFO "%s: enabling TCP rcv checksum\n",
-                      sc->sbm_dev->name);
                sc->rx_hw_checksum = ENABLE;
        } else {
                sc->rx_hw_checksum = DISABLE;
@@ -2417,6 +2415,11 @@
        if (err)
                goto out_uninit;
 
+       if (periph_rev >= 2) {
+               printk(KERN_INFO "%s: enabling TCP rcv checksum\n",
+                       sc->sbm_dev->name);
+       }
+
        /*
         * Display Ethernet address (this is called during the config
         * process so we need to finish off the config message that
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Fix to the Broadcom sb1250-mac driver, Manish Lachwani <=