PciFunction

final class ntoseye.PciFunction

Subclass of BaseRecord.

The decoded configuration space of one function.

property bars: list[PciBar]
property base_class: int
property bus: int
property buses: PciBuses | None

Type 1 and 2 headers only.

property capabilities: list[PciCapability]
property class_name: str | None

The name of the class code, if it is known.

property command: int
property command_flags: list[str]

The names of the bits that are set in the command register.

property config: PciConfigBytes | None

The requested raw range (raw=True). Otherwise None.

property device: int
property device_id: int
property expansion_rom: int | None

The expansion ROM base register (types 0 and 1).

property extended_capabilities: list[PciCapability]

The PCI Express extended capabilities. Empty for a conventional function, or if ntoseye read only 256 bytes.

property function: int
property header_type: int
property interrupt_line: int
property interrupt_pin: int

0 for none, 1-4 for INTA#-INTD#.

property multifunction: bool
property prog_if: int
property revision: int
property segment: int
property status: int
property status_flags: list[str]

The names of the bits that are set in the status register.

property sub_class: int
property subsystem_id: int | None

Type 0 and 2 headers only.

property subsystem_vendor_id: int | None

Type 0 and 2 headers only.

property vendor_id: int