Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2018 Changes in this version + func Lookup(ids map[string]Vendor, vendor string, device string) (string, string) + func NewBusReader(g string) (busReader, error) — linux/amd64 + type Device string + type Devices []*PCI + func (d Devices) ReadConfig() error + func (d Devices) ReadConfigRegister(offset, size int64) ([]uint64, error) + func (d Devices) SetVendorDeviceName() + func (d Devices) String() string + func (d Devices) WriteConfigRegister(offset, size int64, val uint64) error + type PCI struct + Addr string + Device string + DeviceName string + ExtraInfo []string + FullPath string + Vendor string + VendorName string + func (p *PCI) ReadConfig() error + func (p *PCI) ReadConfigRegister(offset, size int64) (uint64, error) + func (p *PCI) SetVendorDeviceName() + func (p *PCI) String() string + func (p *PCI) WriteConfigRegister(offset, size int64, val uint64) error + type Vendor struct + Devices map[string]Device + Name string Incompatible versions in this module v4.0.0+incompatible Jan 27, 2019 v3.0.0+incompatible Nov 21, 2018 v2.0.0+incompatible Oct 1, 2018