EasyManua.ls Logo

Broadcom BCM5722 - Table 42: Mac Address Registers

Broadcom BCM5722
593 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programmer’s Guide BCM5722
10/15/07
Broadcom Corporation
Document 5722-PG101-R MAC Address Setup/Configuration Page 96
Example Code Snippet (from ASF Firmware)
/* Poll buffer manager hardware diag register 3 (0x4454) for our mbuf pointer value */
while(trp->BufMgr.MbufPoolAddr + (((trp->BufMgr.Hwdiag[2]>>16) & 0x1ff) << 7) !=
(u32)pmbuf);
MAC ADDRESS SETUP/CONFIGURATION
The MAC address registers, starting at offset 0x0410, contain the MAC addresses of the NIC. These registers are usually
initialized with a default MAC address extracted from the NIC’s NVRAM when it is first powered up. The host software may
overwrite the default MAC address by writing to the MAC registers with a new MAC address. Table 42 illustrates the MAC
register format.
The BCM5722 Ethernet controller allows a NIC to have up to four MAC addresses (offset 0x410–0x42F) that are used for
hardware packet reception filtering. However, most host software will initialize the registers of the four MAC addresses to
the same MAC address since a NIC usually has only one MAC address.
When flow control is enabled on the BCM5722 Ethernet controller, the MAC Address 0 is used as the source address for
sending PAUSE frames (see “Pause Control Frame” on page 517).
Table 42: Mac Address Registers
Register Name Offset 31 24 23 16 15 8 7 0
Mac_Address_0 0x0410 Unused Octet 0 Octet 1
0x0414 Octet 2 Octet 3 Octet 4 Octet 5
Mac_Address_1 0x0418 Unused Octet 0 Octet 1
0x041c Octet 2 Octet 3 Octet 4 Octet 5
Mac_Address_2 0x0420 Unused Octet 0 Octet 1
0x0424 Octet 2 Octet 3 Octet 4 Octet 5
Mac_Address_3 0x0428 Unused Octet 0 Octet 1
0x042c Octet 2 Octet 3 Octet 4 Octet 5

Table of Contents