Reference

Hardware::PCI::Detect(3pm)

detect pci devices from /proc/bus/pci/devices

NAME

Hardware::PCI::Detect - detect pci devices from /proc/bus/pci/devices

SYNOPSIS

  my $detector = new Hardware::PCI::Detect([root => $altroot]);

  my @hardware = $detector->getlist();

DESCRIPTION

DetectPCI is a simple program that reads /proc/bus/pci/devices and returns the list of pci devices that it contains. These can latter be translated to kernel modules by a large hash table provided in Hardware::PCI::Table.

COPYRIGHT

Copyright 2001 International Business Machines

AUTHOR

Sean Dague <[email protected]>

SEE ALSO

SystemConfig::Hardware, perl