mirror of https://github.com/ipxe/ipxe.git
[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>pull/1/head
parent
0f4fd09180
commit
da222e6f3c
|
@ -342,7 +342,7 @@ static int rtl_open ( struct net_device *netdev ) {
|
||||||
outb ( ( CmdRxEnb | CmdTxEnb ), rtl->ioaddr + ChipCmd );
|
outb ( ( CmdRxEnb | CmdTxEnb ), rtl->ioaddr + ChipCmd );
|
||||||
outl ( ( ( RX_FIFO_THRESH << 13 ) | ( RX_BUF_LEN_IDX << 11 ) |
|
outl ( ( ( RX_FIFO_THRESH << 13 ) | ( RX_BUF_LEN_IDX << 11 ) |
|
||||||
( RX_DMA_BURST << 8 ) | AcceptBroadcast | AcceptMulticast |
|
( 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 + 0 );
|
||||||
outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 4 );
|
outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 4 );
|
||||||
outl ( ( ( TX_DMA_BURST << 8 ) | ( TX_IPG << 24 ) ),
|
outl ( ( ( TX_DMA_BURST << 8 ) | ( TX_IPG << 24 ) ),
|
||||||
|
|
Loading…
Reference in New Issue