Changeset 38292


Ignore:
Timestamp:
2013-10-03T01:12:46+02:00 (4 years ago)
Author:
hauke
Message:

kernel: bgmac: fix BCM4707 patch

The bool logic was the wrong way around.

Signed-off-by: Hauke Mehrtens <hauke@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.10/772-bgmac-add-supprot-for-BCM4707.patch

    r38289 r38292  
    2727+       struct bcma_chipinfo *ci = &core->bus->chipinfo; 
    2828+ 
    29 +       if (ci->id != BCMA_CHIP_ID_BCM4707 && 
    30 +           ci->id != BCMA_CHIP_ID_BCM53018) { 
     29+       if (ci->id == BCMA_CHIP_ID_BCM4707 || 
     30+           ci->id == BCMA_CHIP_ID_BCM53018) { 
    3131+               if (bgmac->autoneg) { 
    3232+                       bcma_awrite32(core, BCMA_IOCTL, 
Note: See TracChangeset for help on using the changeset viewer.