pci

package
v0.0.0-...-2d08fe4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pci provides API for binding & unbinding of PCI devices to a specific driver. PCI addresses in the API need to be specified in the long form, e.g.: 0000:0b:00.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DriverBind

func DriverBind(pciAddr string, driver string) error

DriverBind binds the PCI device to specified driver.

func DriverUnbind

func DriverUnbind(pciAddr string) error

DriverUnbind unbinds the PCI device from existing driver.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL