Table 130: Register Base Address Register (Offset 0X78) - Broadcom BCM5722 Programmer's Manual

Host programmer interface specification for the netxtreme and netlink family of highly integrated media access controllers
Table of Contents

Advertisement

BCM5722
R
B
A
EGISTER
ASE
DDRESS
The Register Base Address register defines the device local address of a register. The data pointed to by this location is
read or written using the Register Data register.
The following steps describe how to use the Register Base Address/Register Data registers.
1. Enable indirect mode by setting the Enable Indirect Access bit of the Miscellaneous Host Control register (see
"Miscellaneous Host Control Register (Offset 0x68)" on page
2. Write the address of the Register that you would like to access to the Register Base Address register (offset 0x78–0x7B).
The least significant two bits of the Register Base Address register will always be ignored since Registers are naturally
word (32-bit) aligned. To allow access to all of the BCM5722 Ethernet controller registers, the range of the Register Base
Address register is [17:2].
3. To write the Register pointed to by the Register Base Address register, write the 32-bit data to the Register Data register.
At least one byte enable in the word to be written from the PCI-based Host must be asserted for the write to occur,
otherwise, the write will be ignored.
4. To read the Register pointed to by the Register Base Address register, read the 32-bit data from the Register Data
register.
Bit
Field
31:18
Reserved
17:2
Register Base Addr
1:0
Reserved
Note: When using indirect register access, Broadcom recommends that the host software access the Register
Base Address register (offset 0x78) and the Register Data register (offset 0x80) using PCI configuration cycles
rather than memory-mapped I/O (i.e., accessing the PCI configuration registers at offsets 0x78 and 0x80 by
memory addresses enabled through the PCI BAR registers). If memory-mapped I/O access is used, every register
write must be followed by a read from the same register to guarantee that the posted write buffer is flushed.
Page 209
Broadcom Vendor-Specific Capabilities
R
(O
EGISTER
FFSET

Table 130: Register Base Address Register (Offset 0x78)

Description
Reserved for testing or future use.
Local controller address of a register than can be written or
read by writing to the Register Data Register.
Reserved for testing or future use.
Bro adco m C orp or atio n
0
78)
X
204).
Programmer's Guide
10/15/07
Init
Access
X
RO
0 on hard
R/W
reset.
X
RO
Document 5722-PG101-R

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BCM5722 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Bcm5722kfb1g

Table of Contents