High Performance Two Port 10/100 Managed Ethernet Switch with
Datasheet
Destination Address Source Address ……………FF FF FF FF FF FF
00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55
00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55
00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55
00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55
…CRC
Note: The switch fabric must be configured to pass magic packets to the Host MAC for this function to operate properly.
9.6Host MAC Address
The Host MAC address is configured via the Host MAC Address Low Register (HMAC_ADDRL) and Host MAC Address High Register (HMAC_ADDRH). These registers contain the
Table 9.7 below illustrates the byte ordering of the HMAC_ADDRL/SWITCH_MAC_ADDRL and HMAC_ADDRH/SWITCH_MAC_ADDRH registers with respect to the reception of the Ethernet physical address. Also shown is the correlation between the EEPROM addresses and HMAC_ADDRL/SWITCH_MAC_ADDRL and HMAC_ADDRH/SWITCH_MAC_ADDRH registers.
Table 9.7 EEPROM Byte Ordering and Register Correlation
EEPROM Address | Register Locations Written | Order of Reception on Ethernet |
|
|
|
01h | HMAC_ADDRL[7:0] | 1st |
| SWITCH_MAC_ADDRL[7:0] |
|
|
|
|
02h | HMAC_ADDRL[15:8] | 2nd |
| SWITCH_MAC_ADDRL[15:8] |
|
|
|
|
03h | HMAC_ADDRL[23:16] | 3rd |
| SWITCH_MAC_ADDRL[23:16] |
|
|
|
|
04h | HMAC_ADDRL[31:24] | 4th |
| SWITCH_MAC_ADDRL[31:24] |
|
|
|
|
05h | HMAC_ADDRH[7:0] | 5th |
| SWITCH_MAC_ADDRH[7:0] |
|
|
|
|
06h | HMAC_ADDRH[15:8] | 6th |
| SWITCH_MAC_ADDRH[15:8] |
|
|
|
|
For example, if the desired Ethernet physical address is
SMSC LAN9312 | 119 | Revision 1.4 |
| DATASHEET |
|