Home
last modified time | relevance | path

Searched refs:perm_mac_addr (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/net/atl1e/
Datl1e_hw.c75 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address()
103 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1e_get_permanent_address()
158 memcpy(hw->mac_addr, hw->perm_mac_addr, sizeof(hw->perm_mac_addr)); in atl1e_read_mac_addr()
Datl1e.h327 u8 perm_mac_addr[ETH_ALEN]; member
/linux-2.6.39/drivers/net/atl1c/
Datl1c_hw.c167 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1c_get_permanent_address()
224 random_ether_addr(hw->perm_mac_addr); in atl1c_read_mac_addr()
226 memcpy(hw->mac_addr, hw->perm_mac_addr, sizeof(hw->perm_mac_addr)); in atl1c_read_mac_addr()
Datl1c.h460 u8 perm_mac_addr[ETH_ALEN]; member
/linux-2.6.39/drivers/net/atlx/
Datl2.c2254 if (is_valid_ether_addr(hw->perm_mac_addr))
2292 memcpy(hw->perm_mac_addr, EthAddr, NODE_ADDRESS_SIZE);
2327 memcpy(hw->perm_mac_addr, EthAddr, NODE_ADDRESS_SIZE);
2337 memcpy(hw->perm_mac_addr, EthAddr, NODE_ADDRESS_SIZE);
2356 hw->perm_mac_addr[0] = 0x00;
2357 hw->perm_mac_addr[1] = 0x13;
2358 hw->perm_mac_addr[2] = 0x74;
2359 hw->perm_mac_addr[3] = 0x00;
2360 hw->perm_mac_addr[4] = 0x5c;
2361 hw->perm_mac_addr[5] = 0x38;
[all …]
Datl1.c442 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1_get_permanent_address()
475 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address()
508 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address()
523 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address()
539 random_ether_addr(hw->perm_mac_addr); in atl1_read_mac_addr()
542 hw->mac_addr[i] = hw->perm_mac_addr[i]; in atl1_read_mac_addr()
3084 if (memcmp(adapter->hw.mac_addr, adapter->hw.perm_mac_addr, ETH_ALEN)) { in atl1_remove()
3085 memcpy(adapter->hw.mac_addr, adapter->hw.perm_mac_addr, in atl1_remove()
Datl2.h433 u8 perm_mac_addr[NODE_ADDRESS_SIZE]; member
Datl1.h746 u8 perm_mac_addr[ETH_ALEN]; member
/linux-2.6.39/drivers/net/e1000/
De1000_hw.c4295 hw->perm_mac_addr[i] = (u8) (eeprom_data & 0x00FF); in e1000_read_mac_addr()
4296 hw->perm_mac_addr[i + 1] = (u8) (eeprom_data >> 8); in e1000_read_mac_addr()
4305 hw->perm_mac_addr[5] ^= 0x01; in e1000_read_mac_addr()
4310 hw->mac_addr[i] = hw->perm_mac_addr[i]; in e1000_read_mac_addr()
De1000_hw.h1405 u8 perm_mac_addr[NODE_ADDRESS_SIZE]; member