Home
last modified time | relevance | path

Searched refs:currmacaddr (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/staging/slicoss/
Dslicoss.c693 if (!(adapter->currmacaddr[0] || adapter->currmacaddr[1] || in slic_adapter_set_hwaddr()
694 adapter->currmacaddr[2] || adapter->currmacaddr[3] || in slic_adapter_set_hwaddr()
695 adapter->currmacaddr[4] || adapter->currmacaddr[5])) { in slic_adapter_set_hwaddr()
696 memcpy(adapter->currmacaddr, adapter->macaddr, 6); in slic_adapter_set_hwaddr()
699 memcpy(adapter->netdev->dev_addr, adapter->currmacaddr, in slic_adapter_set_hwaddr()
729 value = *(u32 *) &adapter->currmacaddr[2]; in slic_mac_address_config()
734 value2 = (u32) ((adapter->currmacaddr[0] << 8 | in slic_mac_address_config()
735 adapter->currmacaddr[1]) & 0xFFFF); in slic_mac_address_config()
925 memcpy(adapter->currmacaddr, addr->sa_data, dev->addr_len); in slic_mac_set_address()
Dslic.h444 unsigned char currmacaddr[6]; member