net/at91_ether: share macb_set_rx_mode with macb
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
This commit is contained in:

committed by
David S. Miller

parent
5e32353d31
commit
e0da1f144a
@@ -997,7 +997,7 @@ static void macb_sethashtable(struct net_device *dev)
|
||||
/*
|
||||
* Enable/Disable promiscuous and multicast modes.
|
||||
*/
|
||||
static void macb_set_rx_mode(struct net_device *dev)
|
||||
void macb_set_rx_mode(struct net_device *dev)
|
||||
{
|
||||
unsigned long cfg;
|
||||
struct macb *bp = netdev_priv(dev);
|
||||
@@ -1029,6 +1029,7 @@ static void macb_set_rx_mode(struct net_device *dev)
|
||||
|
||||
macb_writel(bp, NCFGR, cfg);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(macb_set_rx_mode);
|
||||
|
||||
static int macb_open(struct net_device *dev)
|
||||
{
|
||||
|
Reference in New Issue
Block a user