Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Fix to the Broadcom sb1250-mac driver
@ 2004-11-18 19:32 Manish Lachwani
  0 siblings, 0 replies; only message in thread
From: Manish Lachwani @ 2004-11-18 19:32 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

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

[-- Attachment #2: patch-sb1250-mac --]
[-- Type: text/plain, Size: 700 bytes --]

--- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-18 19:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-18 19:32 [PATCH] Fix to the Broadcom sb1250-mac driver Manish Lachwani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox