Bug 13111

Summary: Linux 2.6.30-rc1 tg3 endian issues with MAC addresses on BCM5701
Product: Drivers Reporter: Rafael J. Wysocki (rjw)
Component: NetworkAssignee: drivers_network (drivers_network)
Status: CLOSED CODE_FIX    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.30-rc1 Tree: Mainline
Regression: Yes
Bug Depends on:    
Bug Blocks: 13070    

Description Rafael J. Wysocki 2009-04-16 21:49:43 UTC
Subject    : Linux 2.6.30-rc1 tg3 endian issues with MAC addresses on BCM5701.  Bisected.
Submitter  : Robin Holt <holt@sgi.com>
Date       : 2009-04-08 7:12
References : http://marc.info/?l=linux-kernel&m=123917477312823&w=4
Handled-By : "Matt Carlson" <mcarlson@broadcom.com>

This entry is being used for tracking a regression from 2.6.29.  Please don't
close it until the problem is fixed in the mainline.

Caused by:

commit e4f341103e4a2b35f56a0f89802f1b1448e8d04b
Author: Matt Carlson <mcarlson@broadcom.com>
Date:   Wed Feb 25 14:25:00 2009 +0000

    tg3: Invert nvram_read() and nvram_read_swab()

    Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
    Signed-off-by: Benjamin Li <benli@broadcom.com>
    Signed-off-by: Michael Chan <mchan@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

First-Bad-Commit : e4f341103e4a2b35f56a0f89802f1b1448e8d04b
Comment 1 Rafael J. Wysocki 2009-04-17 21:19:50 UTC
References : http://lkml.org/lkml/2009/4/16/471
Comment 2 Rafael J. Wysocki 2009-04-26 12:06:42 UTC
Fixed by commit 62cedd11f63c99efd2962fb69763a09e2778f6e6 .