linux-mips
[Top] [All Lists]

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

To: Martin Michlmayr <tbm@cyrius.com>
Subject: Re: Diff between Linus' and linux-mips git: tulip
From: Peter Horton <pdh@colonel-panic.org>
Date: Mon, 20 Feb 2006 23:03:49 +0000
In-reply-to: <20060220001907.GC17967@deprecation.cyrius.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060219234318.GA16311@deprecation.cyrius.com> <20060220000141.GX10266@deprecation.cyrius.com> <20060220001907.GC17967@deprecation.cyrius.com>
Resent-date: Fri, 24 Feb 2006 01:46:28 +0000
Resent-from: tbm@cyrius.com
Resent-message-id: <20060224014628.GB26016@deprecation.cyrius.com>
Resent-to: linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.9i
On Mon, Feb 20, 2006 at 12:19:07AM +0000, Martin Michlmayr wrote:
> 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
> 

Didn't the memcpy() used to be inside the CONFIG_MIPS_COBALT section ?

Looking at tulip/eeprom.c I can't work out why it was ever there though
...

P.

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