s_pci_t Struct Reference
[Hardware information]

structure holding the (raw) PCI data More...

#include <hd.h>


Data Fields

s_pci_tnext
 linked list
unsigned data_len
 the actual length of the data field
unsigned data_ext_len
 max.
unsigned char data [256]
 the PCI data
char * log
 log messages
unsigned flags
 various info, see enum pci_flags
unsigned cmd
 PCI_COMMAND.
unsigned hdr_type
 PCI_HEADER_TYPE.
unsigned secondary_bus
 > 0 for PCI & CB bridges
unsigned bus
 PCI bus #, *nothing* to do with hw_t.bus.
unsigned slot
unsigned func
 slot & function
unsigned base_class
unsigned sub_class
unsigned prog_if
 PCI device classes.
unsigned dev
unsigned vend
unsigned sub_dev
unsigned sub_vend
unsigned rev
 vendor & device ids
unsigned irq
 used irq, if any
uint64_t base_addr [7]
 I/O or memory base.
uint64_t base_len [7]
 I/O or memory ranges.
unsigned addr_flags [7]
 I/O or memory address flags.
uint64_t rom_base_addr
 memory base for card ROM
uint64_t rom_base_len
 memory range for card ROM
char * sysfs_id
 sysfs path
char * sysfs_bus_id
 sysfs bus id
char * modalias
 module alias
unsigned edid_len
 edid record length
unsigned char edid [0x80]
 edid record


Detailed Description

structure holding the (raw) PCI data


Field Documentation

struct s_pci_t* s_pci_t::next [read]

linked list

unsigned s_pci_t::data_len

the actual length of the data field

unsigned s_pci_t::data_ext_len

max.

accessed config byte; see code

unsigned char s_pci_t::data[256]

the PCI data

char* s_pci_t::log

log messages

unsigned s_pci_t::flags

various info, see enum pci_flags

unsigned s_pci_t::cmd

PCI_COMMAND.

unsigned s_pci_t::hdr_type

PCI_HEADER_TYPE.

unsigned s_pci_t::secondary_bus

> 0 for PCI & CB bridges

unsigned s_pci_t::bus

PCI bus #, *nothing* to do with hw_t.bus.

unsigned s_pci_t::slot

unsigned s_pci_t::func

slot & function

unsigned s_pci_t::base_class

unsigned s_pci_t::sub_class

unsigned s_pci_t::prog_if

PCI device classes.

unsigned s_pci_t::dev

unsigned s_pci_t::vend

unsigned s_pci_t::sub_dev

unsigned s_pci_t::sub_vend

unsigned s_pci_t::rev

vendor & device ids

unsigned s_pci_t::irq

used irq, if any

uint64_t s_pci_t::base_addr[7]

I/O or memory base.

uint64_t s_pci_t::base_len[7]

I/O or memory ranges.

unsigned s_pci_t::addr_flags[7]

I/O or memory address flags.

uint64_t s_pci_t::rom_base_addr

memory base for card ROM

uint64_t s_pci_t::rom_base_len

memory range for card ROM

char* s_pci_t::sysfs_id

sysfs path

char* s_pci_t::sysfs_bus_id

sysfs bus id

char* s_pci_t::modalias

module alias

unsigned s_pci_t::edid_len

edid record length

unsigned char s_pci_t::edid[0x80]

edid record


The documentation for this struct was generated from the following file: