# Board Access table

The Board Access table simplifies access to the Board table's variables. The Board table can be sequentially accessed by using a series of get-next commands starting from the beginning of the table. This type of access is not convenient for all types of queries. For example, an application may be interested in the trunk count of all boards on PCI segment 2. Using get-next commands, the application must traverse the entire table in order to ensure that all boards are accounted for. With the index table, the application needs only to find the first entry with the bus segment number that matches PCI segment 2, and the rest of that segment's boards are listed next.

The Board Access table provides an index into the Board table that allows an application to directly access specific boards using get commands, based on the board's bus type, bus segment number, or logical slot number.

Object | Action
--- | ---
Bus type | Examine the Bus Segment table to find the bus segment type you are interested in. Look for that entry's busSegmentIndex value in the Board Access table, and use each matching entry's slotBoardIndex value to find the entry in the Board table.
Bus segment number | Find the slot bus segment number in the Board Access table, and use that entry's slotBoardIndex value to find the entry in the Board table.
Slot number | Find the slotIndex value for a chosen bus segment, and use that row's board index value to index into the Board table.

The objects in the Board Access table include:

Object | Description
--- | ---
chassBoardAccess | Starts the Board Access table.
slotTable | Starts the rows of the Board Access table.
slotEntry | Starts a row in the Board Access table.
slotBusSegmentIndex | Specifies the number of the bus segment this board is in.
slotIndex | Specifies the logical slot index of a board in the bus segment.
slotBoardIndex | Specifies the index into the Board table for this bus segment.
slotStatus | Specifies the slot's Hot Swap status.