Documentation ¶
Index ¶
- Variables
- type Address
- type Device
- func (d *Device) AddrBus() uint8
- func (d *Device) AddrDevice() uint8
- func (d *Device) AddrDomain() uint16
- func (d *Device) AddrFunction() uint8
- func (d *Device) AssignDriver(n string) error
- func (d *Device) Class() uint32
- func (d *Device) ClassHex() string
- func (d *Device) ClassName() string
- func (d *Device) CurrentDriver() string
- func (d *Device) Device() uint16
- func (d *Device) DeviceHex() string
- func (d *Device) DeviceName() string
- func (d *Device) Enabled() bool
- func (d *Device) FullPath() string
- func (d *Device) HasMultifunctionFeature() bool
- func (d *Device) Parent() *Device
- func (d *Device) String() string
- func (d *Device) SubclassName() string
- func (d *Device) Subdevices() []*Device
- func (d *Device) UnbindDriver() error
- func (d *Device) Vendor() uint16
- func (d *Device) VendorHex() string
- func (d *Device) VendorName() string
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *idsdb.DB
View Source
var ErrDeviceNotFound = errors.New("PCI device not found")
Functions ¶
This section is empty.
Types ¶
type Address ¶
func AddressFromHex ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func DeviceList ¶
func LookupDevice ¶
func (*Device) AddrDevice ¶
func (*Device) AddrDomain ¶
func (*Device) AddrFunction ¶
func (*Device) AssignDriver ¶
func (*Device) CurrentDriver ¶
func (*Device) DeviceName ¶
func (*Device) HasMultifunctionFeature ¶
func (*Device) SubclassName ¶
func (*Device) Subdevices ¶
func (*Device) UnbindDriver ¶
func (*Device) VendorName ¶
Click to show internal directories.
Click to hide internal directories.