setpci command examples

setpci command examples

setpci – configure PCI devices

COMMAND

asks for the word-sized command register.

4.w is a numeric address of the same register.

COMMAND.l

asks for a 32-bit word starting at the location of the command register, i.e., the command and status registers together.

VENDOR_ID+1.b

specifies the upper byte of the vendor ID register (remember, PCI is little-endian).

CAP_PM+2.w

corresponds to the second word of the power management capability.

ECAP108.l

asks for the first 32-bit word of the extended capability with ID 0x108.

 

Leave a Reply

Your email address will not be published. Required fields are marked *