summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2010-10-07 17:23:09 +0200
committerMichael Brown2010-10-07 20:21:21 +0200
commitda222e6f3c9fe00322e9a47070f48f0d5b6022ff (patch)
treefaae2b7c64f8ec7a5a0c69fe396dbcf9616decb2 /src/drivers
parent[fcoe] Add support for the FCoE Initialization Protocol (FIP) (diff)
downloadipxe-da222e6f3c9fe00322e9a47070f48f0d5b6022ff.tar.gz
ipxe-da222e6f3c9fe00322e9a47070f48f0d5b6022ff.tar.xz
ipxe-da222e6f3c9fe00322e9a47070f48f0d5b6022ff.zip
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/net/rtl8139.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/rtl8139.c b/src/drivers/net/rtl8139.c
index 4ed43c02e..1ce1344eb 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 ) ),