lkml.org 
[lkml]   [2010]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [11/17] r6040: Fix multicast list iteration when hash filter is used
    On 22/10/2010 19:39, Greg KH wrote:
    > drivers/net/r6040.c | 1 +
    > 1 file changed, 1 insertion(+)
    >
    > --- a/drivers/net/r6040.c
    > +++ b/drivers/net/r6040.c
    > @@ -976,6 +976,7 @@ static void r6040_multicast_list(struct
    > iowrite16(hash_table[3], ioaddr + MAR3);
    > }
    > /* Multicast Address 1~4 case */
    > + dmi = dev->mc_list;
    > for (i = 0, dmi; (i < dev->mc_count) && (i < MCAST_MAX); i++) {
    Any reason for the dmi in the above line? As far as I can see it is a
    nop.

    > adrp = (u16 *)dmi->dmi_addr;
    > iowrite16(adrp[0], ioaddr + MID_1L + 8*i);
    >



    \
     
     \ /
      Last update: 2010-10-22 21:17    [W:0.025 / U:62.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site