2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-02-16 18:48:12 +00:00

[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>
This commit is contained in:
Michael Brown 2010-10-07 16:23:09 +01:00
parent 0f4fd09180
commit da222e6f3c

View File

@ -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 ) ),