linux-mips
[Top] [All Lists]

Re: Diff between Linus' and linux-mips git: tulip

To: linux-mips@linux-mips.org
Subject: Re: Diff between Linus' and linux-mips git: tulip
From: Martin Michlmayr <tbm@cyrius.com>
Date: Mon, 20 Feb 2006 00:19:07 +0000
Cc: Peter Horton <pdh@colonel-panic.org>
In-reply-to: <20060220000141.GX10266@deprecation.cyrius.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060219234318.GA16311@deprecation.cyrius.com> <20060220000141.GX10266@deprecation.cyrius.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11
Anyone know what this change is good for?


--- linux-2.6.16-rc4/drivers/net/tulip/tulip_core.c     2006-02-19 
20:09:12.000000000 +0000
+++ mips-2.6.16-rc4/drivers/net/tulip/tulip_core.c      2006-02-19 
20:15:27.000000000 +0000
@@ -1495,8 +1495,8 @@
                if ((pdev->bus->number == 0) && (PCI_SLOT(pdev->devfn) == 4)) {
                        /* DDB5477 MAC address in first EEPROM locations. */
                        sa_offset = 0;
-                       /* No media table either */
-                       tp->flags &= ~HAS_MEDIA_TABLE;
+                      /* Ensure our media table fixup get's applied */
+                      memcpy(ee_data + 16, ee_data, 8);
                }
 #endif
 #ifdef CONFIG_MIPS_COBALT

-- 
Martin Michlmayr
http://www.cyrius.com/

<Prev in Thread] Current Thread [Next in Thread>