 |
Index for Section 9 |
|
 |
Alphabetical listing for P |
|
 |
Bottom of page |
|
pci_rom_data(9s)
NAME
pci_rom_data - PCI: Describes a PCI device's expansion ROM image
SYNOPSIS
__________________________________
Member Name Data Type
__________________________________
signature u_int
vendor_id u_short
device_id u_short
vital_data_off u_short
struct_len u_short
struct_rev u_short
class_code struct class_code
image_length u_short
code_revision u_short
code_type u_char
indicator u_char
__________________________________
MEMBERS
signature
Contains the string PCIR to uniquely identify the PCI data
structure.
vendor_id
Contains the vendor ID as defined in the Vendor ID device register
(vendor_id member of pci_config_hdr).
device_id
Contains the device ID as defined in the Device ID device register
(device_id member of pci_config_hdr).
vital_data_off
Contains the offset to the vital product data from the start of the
ROM image. PCI Local Bus Specification Revision 2.1 does not
define the contents of the vital product data structure.
struct_len
Contains the size (in bytes) of the pci_rom_data data structure.
struct_rev
Identifies the pci_rom_data data structure revision level. For ROM
images compliant with PCI Local Bus Specification Revision 2.1,
this member contains the constant PCI_DATA_STRUCT_V2.
class_code
Contains the class code as defined in the Class Code device
register (class_code member of pci_config_hdr).
image_length
Contains the length of the image in 512-byte blocks.
code_revision
Contains the revision level of the code in the ROM image.
code_type
Identifies the type of code contained in this section of the ROM.
You use the constants INTEL_ROM_CODE_TYPE or OPENFW_ROM_CODE_TYPE
in this member. (OPENBOOT_ROM_CODE_TYPE is supported in <pci.h> for
backward compatibility; OPENFW_ROM_CODE_TYPE is the preferred
symbol.)
indicator
Contains the constant ROM_LAST_IMAGE (bit <7> set) if this is the
last image in the ROM. All other values are reserved.
DESCRIPTION
The pci_rom_data data structure describes a PCI device's expansion ROM
image. The data structure itself is located within the first 64K bytes of
the ROM image and must be longword aligned.
FILES
<io/dec/pci/pci.h>
SEE ALSO
Data Structures: pci_config_hdr(9s), pci_rom_exp_header(9s)
Manuals: Writing PCI Bus Device Drivers
 |
Index for Section 9 |
|
 |
Alphabetical listing for P |
|
 |
Top of page |
|