lantiq: Tune the XWAY subtarget cflags
[openwrt/staging/wigyori.git] / package / system / ep80579-drivers / patches / 104-iegbe_group_address_list_and_its_count.patch
1 --- a/Embedded/src/GbE/iegbe_main.c
2 +++ b/Embedded/src/GbE/iegbe_main.c
3 @@ -2188,7 +2188,7 @@ int mta_reg_count = E1000_NUM_MTA_REGIST
4 }
5 }
6
7 - if (netdev->uc_count > rar_entries - 1) {
8 + if (netdev->uc.count > rar_entries - 1) {
9 rctl |= E1000_RCTL_UPE;
10 } else if (!(netdev->flags & IFF_PROMISC)) {
11 rctl &= ~E1000_RCTL_UPE;
12 @@ -2212,7 +2212,7 @@ int mta_reg_count = E1000_NUM_MTA_REGIST
13 */
14 i = 1;
15 if (use_uc)
16 - list_for_each_entry(ha, &netdev->uc_list, list) {
17 + list_for_each_entry(ha, &netdev->uc.list, list) {
18 if (i == rar_entries)
19 break;
20 iegbe_rar_set(hw, ha->addr, i++);