Figure 51: Pci Base Address Register; Figure 52: Pci Base Address Register Bits Read In Standard Mode - 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

Programmer's Guide
10/15/07
PCI Base Address Register
The PCI_Base_Address Register (BAR) specifies the location of a BCM5722 Ethernet controller memory mapped I/O block.
The BCM5722 Ethernet controller mode configuration (Flat vs. Standard) affects how the BAR is setup (see
Bits 4–31 in the PCI_Base_Address register are selectively programmable based on the amount of host memory
requested. The PnP BIOS/OS will use an algorithm to test the BAR bits and determine the amount of physical memory
requested.
The Memory_Space_Indicator bit designates whether the BAR is memory or I/O mapped. The BCM5722 Ethernet
controller hard codes the Memory_Space_Indicator bit to zero (de-asserted).
The Location/Type bits specify locations in host memory space where a device can decode physical addresses. The
BCM5722 Ethernet controller memory mapped I/O range may be placed anywhere in 64-bit address space (Type = 10).
The BCM5722 Ethernet controller deasserts the Prefetchable bit to indicate that the memory range should not be
cached.
Base Address
The BCM5722 Ethernet controller 64K memory mapped I/O block is determined by the first programmable bit in the BAR.
When the MAC is configured in standard mode, the mask 0xFFFF0000 identifies the BAR bits, which are programmable. Bit
16 is the first bit encountered in the scan upward, which is programmable; bits 0–3 are ignored. Host software will read zero
values from bits 4–16.
Figure 52

Figure 52: PCI Base Address Register Bits Read in Standard Mode

Document
5722-PG101-R
Binary Weighted Value:
the 1st programmable
bit (ascending) indicates
requested block size.
[31:4]

Figure 51: PCI Base Address Register

shows the BAR register and the bits returned to the OS/BIOS during resource allocation.
XXXX XXXX XXXX XXX1 0000 0000 0000
[31:4]
Bro adco m Co rp or atio n
Prefetchable:
0 = Disabled
1 = Enabled
P
Type
M
[3]
[2:1]
[0]
Binary Weighted Value:
0x00010000 = 64K
X's are don't cares
0
[3]
Location:
00 = Anywhere
01 = Below 1 MB
10 = Anywhere in 64-bit Addr Space
11 = Reserved
Memory Space Indicator:
I/O = 1
Memory = 0
Ignored:
Bits 0-3
11
0
[2:1]
[0]
Configuration Space
BCM5722
Figure
51).
Page 130

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?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Bcm5722kfb1g

Table of Contents