Browse Source

[forcedeth] Never change the NVREG_TRANSMITPOLL_MAC_ADDR_REV flag

iPXE operates the forcedeth NIC in promiscuous mode, and never changes
the unicast MAC address filter registers.  We should not therefore set
the flag indicating (to other drivers loaded later) that the MAC
address order has already been corrected.

Reported-by: Tal Aloni <tal.aloni.il@gmail.com>
Tested-by: Tal Aloni <tal.aloni.il@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
c3e2086848
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      src/drivers/net/forcedeth.c

+ 0
- 5
src/drivers/net/forcedeth.c View File

1098
 		dev->hw_addr[3] = ( orig_mac[0] >> 16 ) & 0xff;
1098
 		dev->hw_addr[3] = ( orig_mac[0] >> 16 ) & 0xff;
1099
 		dev->hw_addr[4] = ( orig_mac[0] >> 8 ) & 0xff;
1099
 		dev->hw_addr[4] = ( orig_mac[0] >> 8 ) & 0xff;
1100
 		dev->hw_addr[5] = ( orig_mac[0] >> 0 ) & 0xff;
1100
 		dev->hw_addr[5] = ( orig_mac[0] >> 0 ) & 0xff;
1101
-
1102
-		writel ( txreg | NVREG_TRANSMITPOLL_MAC_ADDR_REV,
1103
-			 ioaddr + NvRegTransmitPoll );
1104
-
1105
-		DBG ( "set workaround bit for reversed mac addr\n" );
1106
 	}
1101
 	}
1107
 
1102
 
1108
 	if ( ! is_valid_ether_addr ( dev->hw_addr ) )
1103
 	if ( ! is_valid_ether_addr ( dev->hw_addr ) )

Loading…
Cancel
Save