Skip to contentSkip to conversation

Fix to the Broadcom sb1250-mac driver

PATCH New Manish Lachwani 1 participant 1 message Nov 18, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix to the Broadcom sb1250-mac driver

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

net/sb1250-mac.c renamed from net/sb1250-mac.c.orig +5 -2
@@ -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