Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
Address contains the components of a PCI Address
func FromString ¶
FromString returns an Address struct from an ddress string in either $BUS:$DEVICE.$FUNCTION (BDF) format or it can be a full PCI address that includes the 4-digit $DOMAIN information as well: $DOMAIN:$BUS:$DEVICE.$FUNCTION.
Returns "" if the address string wasn't a valid PCI address.
Click to show internal directories.
Click to hide internal directories.