Changeset 7
- Timestamp:
- Jan 26, 2011, 10:00:13 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/e1000e/e1000e.inc ¶
r4 r7 2 2 #commas are not allowed in these definitions 3 3 PROJECT=Intel PRO/1000 PCIe MAC Driver 4 FIXPACK=SVN 45 VERSION=0.1. 44 FIXPACK=SVN7 5 VERSION=0.1.5 6 6 7 7 #TODO: automatically create BUILDDATE 8 BUILDDATE=201 011298 BUILDDATE=20110126 9 9 10 10 #DBG_MODE=0 turns debug off -
TabularUnified trunk/e1000e/e1000e.nif-in ¶
r1 r7 28 28 Editable = yes 29 29 Help = "Use receive chain instead of receive lookahead" 30 31 [NETADDRESS] 32 Display = "Network Adapter Address" 33 Type = hexstring 34 Strlength = 12 35 Optional = yes 36 Editable = yes 37 Help = "This parameter overrides the network address of the network 38 adapter card. The value of this parameter is a hexadecimal string of 39 12 digits. The address must be unique among all other network adapter addresses on the network." -
TabularUnified trunk/e1000e/e1000hw.cpp ¶
r1 r7 34 34 word fixed_mode = 0; 35 35 word dorxchain = 1; 36 word use_hw_netaddress = 1; 36 37 37 38 static void set_default_params(struct e1000_adapter *adapter); … … 384 385 } 385 386 387 p = GetConfigString(FindKey(pConfig, "NETADDRESS")); 388 if (*p) { 389 rc = GetHex(p, mac, 6, 0); 390 use_hw_netaddress = 0; 391 } 392 386 393 if (dorxchain) AdapterSC.MscService |= RECEIVECHAIN_MOSTLY; 387 394 … … 526 533 e1000_eeprom_checks(&adapter); 527 534 528 /* copy the MAC address out of the NVM */ 529 if (e1000e_read_mac_addr(&adapter.hw)) 530 { 531 DPRINTF((1, "NVM Read Error while reading MAC address")); 532 return -1; 533 } 534 535 memcpy(mac, adapter.hw.mac.addr, sizeof mac); 535 if (use_hw_netaddress) { 536 /* copy the MAC address out of the NVM */ 537 if (e1000e_read_mac_addr(&adapter.hw)) 538 { 539 DPRINTF((1, "NVM Read Error while reading MAC address")); 540 return -1; 541 } 542 543 memcpy(mac, adapter.hw.mac.addr, sizeof mac); 544 } 536 545 537 546 DPRINTF((3, "MAC address = %x:%x:%x:%x:%x:%x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5])); -
TabularUnified trunk/e1000e/readme ¶
r4 r7 81 81 not output normal messages. Error messages are still output normally. 82 82 83 0.1.5 84 Added NETADDRESS support 83 85 -
TabularUnified trunk/nveth/readme ¶
r4 r7 128 128 not output normal messages. Error messages are still output normally. 129 129 130 0.1.6 131 Added NETADDRESS support 132
Note:
See TracChangeset
for help on using the changeset viewer.