Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. PCI configuration
space is the underlying way that the Conventional PCI, PCI-X and PCI
Express perform auto configuration of the cards inserted into their bus.
One of the major improvements the PCI Local Bus had over other I/O
architectures was its configuration mechanism. In addition to the normal
memory-mapped and I/O port spaces, each device function on the bus has a
configuration space. This is 256 bytes that are addressable by knowing
the 8-bit PCI bus, 5-bit device, and 3-bit function numbers for the
device. This allows up to 256 buses, each with up to 32 devices, each
supporting 8 functions. A single PCI expansion card can respond as a
device and must implement at least function number zero.