Ignore:
Timestamp:
2010-03-08T23:03:00+01:00 (6 years ago)
Author:
hauke
Message:

brcm47xx: fix commit r18413 "128MB ram problem"

The patch commited in r18413 was wrong.
This patch prevents prom_init_mem from scanning over 128MB ram.
This is from #6765 and #3177

Refresh all patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-2.6.31/700-ssb-gigabit-ethernet-driver.patch

    r19782 r20072  
    253253                tw32_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl & 
    254254                       ~GRC_LCLCTRL_GPIO_OUTPUT1); 
    255 @@ -12136,6 +12205,11 @@ static int __devinit tg3_get_invariants( 
     255@@ -12136,6 +12206,11 @@ static int __devinit tg3_get_invariants( 
    256256              GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5701))) 
    257257                tp->tg3_flags |= TG3_FLAG_SRAM_USE_CONFIG; 
     
    265265         * In particular, the TG3_FLG2_IS_NIC flag must be 
    266266         * determined before calling tg3_set_power_state() so that 
    267 @@ -12513,6 +12587,10 @@ static int __devinit tg3_get_device_addr 
     267@@ -12513,6 +12588,10 @@ static int __devinit tg3_get_device_addr 
    268268        } 
    269269  
     
    276276                if (!tg3_get_default_macaddr_sparc(tp)) 
    277277                        return 0; 
    278 @@ -13004,6 +13082,7 @@ static char * __devinit tg3_phy_string(s 
     278@@ -13004,6 +13083,7 @@ static char * __devinit tg3_phy_string(s 
    279279        case PHY_ID_BCM5704:    return "5704"; 
    280280        case PHY_ID_BCM5705:    return "5705"; 
     
    284284        case PHY_ID_BCM5714:    return "5714"; 
    285285        case PHY_ID_BCM5780:    return "5780"; 
    286 @@ -13214,6 +13293,13 @@ static int __devinit tg3_init_one(struct 
     286@@ -13214,6 +13294,13 @@ static int __devinit tg3_init_one(struct 
    287287                tp->msg_enable = tg3_debug; 
    288288        else 
Note: See TracChangeset for help on using the changeset viewer.