Browse Source

[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>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
da222e6f3c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/drivers/net/rtl8139.c

+ 1
- 1
src/drivers/net/rtl8139.c View File

342
 	outb ( ( CmdRxEnb | CmdTxEnb ), rtl->ioaddr + ChipCmd );
342
 	outb ( ( CmdRxEnb | CmdTxEnb ), rtl->ioaddr + ChipCmd );
343
 	outl ( ( ( RX_FIFO_THRESH << 13 ) | ( RX_BUF_LEN_IDX << 11 ) |
343
 	outl ( ( ( RX_FIFO_THRESH << 13 ) | ( RX_BUF_LEN_IDX << 11 ) |
344
 		 ( RX_DMA_BURST << 8 ) | AcceptBroadcast | AcceptMulticast |
344
 		 ( RX_DMA_BURST << 8 ) | AcceptBroadcast | AcceptMulticast |
345
-		 AcceptMyPhys ), rtl->ioaddr + RxConfig );
345
+		 AcceptMyPhys | AcceptAllPhys ), rtl->ioaddr + RxConfig );
346
 	outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 0 );
346
 	outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 0 );
347
 	outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 4 );
347
 	outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 4 );
348
 	outl ( ( ( TX_DMA_BURST << 8 ) | ( TX_IPG << 24 ) ),
348
 	outl ( ( ( TX_DMA_BURST << 8 ) | ( TX_IPG << 24 ) ),

Loading…
Cancel
Save