netdev: bfin_mac: use promiscuous flag for promiscuous mode
commitc0da776bde79e5d5e2c955ff37a8a09fe05433b2
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 10 May 2010 05:39:12 +0000 (10 05:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 00:21:00 +0000 (17 17:21 -0700)
tree3b586cd5c89a32575a9b8c3da282509469acfdb8
parent53fd3f2829268703729a2db0e24c0e36360b68a2
netdev: bfin_mac: use promiscuous flag for promiscuous mode

Rather than using the Receive All Frames (RAF) bit to enable promiscuous
mode, use the Promiscuous (PR) bit.  This lowers overhead at runtime as
we let the hardware process the packets that should actually be checked.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bfin_mac.c