mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Apparently some NVIDIA NICs store ethernet address in reverse order
while other variants have inorder ethernet address for the same chipset. Override ethernet address ordering if we already know how it was stored. This fixes the use of inversed ethernet address on MCP67. Submitted by: ariff MFC after: 3 days
This commit is contained in:
parent
eec1c21f61
commit
144e07f0e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173377
@ -462,14 +462,14 @@ nfe_attach(device_t dev)
|
||||
case PCI_PRODUCT_NVIDIA_MCP67_LAN3:
|
||||
case PCI_PRODUCT_NVIDIA_MCP67_LAN4:
|
||||
sc->nfe_flags |= NFE_40BIT_ADDR | NFE_PWR_MGMT |
|
||||
NFE_TX_FLOW_CTRL;
|
||||
NFE_CORRECT_MACADDR | NFE_TX_FLOW_CTRL;
|
||||
break;
|
||||
case PCI_PRODUCT_NVIDIA_MCP65_LAN1:
|
||||
case PCI_PRODUCT_NVIDIA_MCP65_LAN2:
|
||||
case PCI_PRODUCT_NVIDIA_MCP65_LAN3:
|
||||
case PCI_PRODUCT_NVIDIA_MCP65_LAN4:
|
||||
sc->nfe_flags |= NFE_JUMBO_SUP | NFE_40BIT_ADDR |
|
||||
NFE_PWR_MGMT | NFE_TX_FLOW_CTRL;
|
||||
NFE_PWR_MGMT | NFE_CORRECT_MACADDR | NFE_TX_FLOW_CTRL;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user