Netdev List
 help / color / mirror / Atom feed
* question tehuti.c
@ 2013-09-23 15:54 Julia Lawall
  2013-09-24 15:34 ` Andy Gospodarek
  0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2013-09-23 15:54 UTC (permalink / raw)
  To: andy, netdev, linux-kernel

The function bdx_setmulti in the file drivers/net/ethernet/tehuti/tehuti.c
contains:

        u32 rxf_val =
            GMAC_RX_FILTER_AM | GMAC_RX_FILTER_AB | GMAC_RX_FILTER_OSEN;

and then later:

       } else {
                DBG("only own mac %d\n", netdev_mc_count(ndev));
                rxf_val |= GMAC_RX_FILTER_AB;
        }

The last assignment doesn't look very useful, because GMAC_RX_FILTER_ABis
already included in rxf_val.  Was something else intended?

thanks,
julia

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-24 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-23 15:54 question tehuti.c Julia Lawall
2013-09-24 15:34 ` Andy Gospodarek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox