Changeset 9361


Ignore:
Timestamp:
2007-10-20T07:51:10+02:00 (10 years ago)
Author:
juhosg
Message:

[adm5120] fix typos in the switch driver, thanks to Bernhard Held (closes: #2573)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm5120/files/drivers/net/adm5120sw.c

    r9340 r9361  
    710710 
    711711        t = mac[2] | (mac[3] << MAC_WT1_MAC3_SHIFT) | 
    712                 (mac[4] << MAC_WT1_MAC4_SHIFT) | (mac[5] << MAC_WT1_MAC4_SHIFT); 
     712                (mac[4] << MAC_WT1_MAC4_SHIFT) | (mac[5] << MAC_WT1_MAC5_SHIFT); 
    713713        sw_write_reg(SWITCH_REG_MAC_WT1, t); 
    714714 
     
    747747        t = mac[2] | (mac[3] << MAC_WT1_MAC3_SHIFT) 
    748748                | (mac[4] << MAC_WT1_MAC4_SHIFT) 
    749                 | (mac[5] << MAC_WT1_MAC4_SHIFT); 
     749                | (mac[5] << MAC_WT1_MAC5_SHIFT); 
    750750        sw_write_reg(SWITCH_REG_MAC_WT1, t); 
    751751 
Note: See TracChangeset for help on using the changeset viewer.