From da222e6f3c9fe00322e9a47070f48f0d5b6022ff Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 7 Oct 2010 16:23:09 +0100 Subject: [PATCH] [rtl8139] Operate in promiscuous mode FCoE requires us to be able to receive unicast packets for multiple addresses. Support this by operating in promiscuous mode. Signed-off-by: Michael Brown --- src/drivers/net/rtl8139.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/net/rtl8139.c b/src/drivers/net/rtl8139.c index 4ed43c02..1ce1344e 100644 --- a/src/drivers/net/rtl8139.c +++ b/src/drivers/net/rtl8139.c @@ -342,7 +342,7 @@ static int rtl_open ( struct net_device *netdev ) { outb ( ( CmdRxEnb | CmdTxEnb ), rtl->ioaddr + ChipCmd ); outl ( ( ( RX_FIFO_THRESH << 13 ) | ( RX_BUF_LEN_IDX << 11 ) | ( RX_DMA_BURST << 8 ) | AcceptBroadcast | AcceptMulticast | - AcceptMyPhys ), rtl->ioaddr + RxConfig ); + AcceptMyPhys | AcceptAllPhys ), rtl->ioaddr + RxConfig ); outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 0 ); outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 4 ); outl ( ( ( TX_DMA_BURST << 8 ) | ( TX_IPG << 24 ) ),