User`s guide

Table Of Contents
4–114 User Commands
User Commands
prw
prw
The prw command reads a word (16 bits) from the specified address in the PCI
configuration space.
Format
prw pci_address id bus function
Parameters
pci_address
Specifies the address in PCI space.
id
Specifies a decimal number that represents the slot assigned to the PCI device.
bus
Specifies which bus to read from. The default value is 0.
function
Specifies which function to read from. The default value is 0.
Description
The prw command reads a word from the specified address in the PCI configuration
space for a device specified by the id. If the motherboard does not support PCI, then
this command is not implemented. If your system configuration supports multiple
PCI buses, use the parameters to specify the PCI device. Use the pcishow command
to view the available PCI devices.