devinfo —
print information about system device
configuration
The devinfo utility, without any
arguments, shows the hierarchy of devices available in the system, starting
from the “nexus” device.
The following options are accepted:
-p
dev
- Display the path of dev back to the root of the
device tree. dev can either be a device name, the
absolute path of an ACPI handle (must begin with a “\”), or
a PCI selector (either
pcidomain:bus:slot:function
or
pcibus:slot:function).
If -v is specified, each device is
output on a separate line including the device name and additional
verbose information; otherwise, a space-separated list of device names
is output.
-r
- Causes hardware resource information (such as IRQ, I/O ports, I/O memory
addresses) to be also listed, under each device that has reserved those
resources.
-u
- Displays the same information as with
-r but sorts
by resource type rather than by device, allowing to review the set of
system resources by usage and available resources. I.e., it lists all the
IRQ consumers together.
-v
- Display all devices in the driver tree, not just those that are attached
or busy. Without this flag, only those devices that have attached are
reported. This flag also displays verbose information about each
device.
The devinfo utility appeared in
FreeBSD 5.0.