Ignore:
Timestamp:
2011-06-14T00:37:23+02:00 (5 years ago)
Author:
blogic
Message:

[lantiq]

Fix for bug where the iniatialisation of the MAC data private strucure
is copied into the wrong location.

Ticket #9547

Signed-off-by: Conor O'Gorman <conor at dna.ie>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/patches-2.6.39/200-mach-arv45xx.patch

    r27104 r27172  
    277277+{ 
    278278+#define ARV45XX_BRN_MAC                        0x3f0016 
    279 +       memcpy_fromio(&ltq_eth_data.mac, 
     279+       memcpy_fromio(&ltq_eth_data.mac.sa_data, 
    280280+               (void *)KSEG1ADDR(LTQ_FLASH_START + ARV45XX_BRN_MAC), 6); 
    281281+       ltq_register_etop(&ltq_eth_data); 
     
    286286+{ 
    287287+#define ARV75XX_BRN_MAC                        0x7f0016 
    288 +       memcpy_fromio(&ltq_eth_data.mac, 
     288+       memcpy_fromio(&ltq_eth_data.mac.sa_data, 
    289289+               (void *)KSEG1ADDR(LTQ_FLASH_START + ARV75XX_BRN_MAC), 6); 
    290290+       ltq_register_etop(&ltq_eth_data); 
     
    295295+{ 
    296296+#define BEWAN_BRN_MAC                  0x3f0014 
    297 +       memcpy_fromio(&ltq_eth_data.mac, 
     297+       memcpy_fromio(&ltq_eth_data.mac.sa_data, 
    298298+               (void *)KSEG1ADDR(LTQ_FLASH_START + BEWAN_BRN_MAC), 6); 
    299299+       ltq_register_etop(&ltq_eth_data); 
Note: See TracChangeset for help on using the changeset viewer.