Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Class ¶
type Class struct { // hex-encoded PCI_ID for the device class ID string `json:"id"` // common string name for the class Name string `json:"name"` // any subclasses belonging to this class Subclasses []*Subclass `json:"subclasses"` }
Class is the PCI class
type DB ¶
type DB struct { // hash of class ID -> class information Classes map[string]*Class `json:"classes"` // hash of vendor ID -> vendor information Vendors map[string]*Vendor `json:"vendors"` // hash of vendor ID + product/device ID -> product information Products map[string]*Product `json:"products"` }
type Product ¶
type Product struct { // vendor ID for the product VendorID string `json:"vendor_id"` // hex-encoded PCI_ID for the product/model ID string `json:"id"` // common string name of the vendor Name string `json:"name"` // "subdevices" or "subsystems" for the product Subsystems []*Product `json:"subsystems"` }
Product provides information about a PCI device model
type ProgrammingInterface ¶
type ProgrammingInterface struct { // hex-encoded PCI_ID of the programming interface ID string `json:"id"` // common string name for the programming interface Name string `json:"name"` }
ProgrammingInterface is the PCI programming interface for a class of PCI devices
type Subclass ¶
type Subclass struct { // hex-encoded PCI_ID for the device subclass ID string `json:"id"` // common string name for the subclass Name string `json:"name"` // any programming interfaces this subclass might have ProgrammingInterfaces []*ProgrammingInterface `json:"programming_interfaces"` }
Subclass is a subdivision of a PCI class
Click to show internal directories.
Click to hide internal directories.