pcitool

Crates.iopcitool
lib.rspcitool
version0.1.0
sourcesrc
created_at2024-01-09 11:36:12.279801
updated_at2024-01-09 11:36:12.279801
descriptionTool and library for portable access to PCI bus configuration registres.
homepagehttps://github.com/pepyaka/pcitool
repositoryhttps://github.com/pepyaka/pcitool
max_upload_size
id1093827
size563,368
Mikhail Bratchikov (pepyaka)

documentation

https://docs.rs/pcitool

README

pcitool

This package provides tool and library for portable access to PCI bus configuration registres.

Following systems are supported:

  • Linux
  • FreeBSD (via /dev/pci)
  • NetBSD (via libpci)
  • OpenBSD (via /dev/pci)
  • GNU/kFreeBSD (via /dev/pci)
  • Solaris/i386 (direct port access)
  • Aix (via /dev/pci and odmget)
  • GNU Hurd (direct port access)
  • Windows (via cfgmgr32 or direct port access, see README.Windows for caveats)
  • CYGWIN (direct port access)
  • BeOS (via syscalls)
  • Haiku (via /dev/misc/poke)
  • Darwin (via IOKit)
  • DOS/DJGPP (via i386 ports)
  • SylixOS (via /proc/pci)

Pcitool inspired by pciutils and tries to be compatible in every way

Usage

List all PCI devices

  • Brief: pcitool ls
  • Verbose view: pcitool ls -v
  • Show PCI vendor and device codes as both numbers and names: pcitool ls -nn

Configure PCI device

TODO

Commit count: 0

cargo fmt