Provide support for the PCI BIOS
Note:
You must be root to start this server.
Syntax:
For pci-bios:
pci-bios [-b buses] [-B] [-c num] [-m] [-v] [-x] [-dbios bios_options]
You must run pci-bios-v2 as pci-bios:
pci-bios [-b buses] [-B] [-c num] [-D] [-M] [-m] [-P addr:size]
[-v] [-x] [-dbios bios_options]
Options:
- -b buses
- The number of PCI buses to scan. The default is 10.
- -B
- Force enumeration of bridges of type "OTHER".
- -c num
- Ignore certain device classes, depending on the value of num:
If num is: |
Ignore: |
1 |
Device class zero |
2 |
Device class 0xFFFFFF |
3 |
Both of the above classes |
- -D
- (pci-bios-v2 only) Enable Message Signaled Interrupts (MSI)
and Extended MSI (MSI-X) for video; they're disabled by default.
This option is ignored if you also specify -M.
- -dbios bios_options
- BIOS options, which include:
- irqlist=irq1,irq2,…
- Pass a list of IRQs to the BIOS.
For example:
irqlist=5,7,9
- -M
- (pci-bios-v2 only) Disable MSI and MSI-X.
By default, they're disabled for video devices, and enabled for other devices.
The -D option has no effect if you specify -M.
- -m
- Don't map IRQs; some BIOSs don't support IRQ mapping.
- -P addr:size
- (pci-bios-v2 only) Specify the address and size of the extended PCIe configuration space.
- -v
- Verbose output; display detailed information on the console.
- -x
- Don't remove devices from the PCI bus while enumerating them.
Description:
The pci-bios server provides PCI BIOS support.
You'll have to provide it in your boot image for systems with a PCI BIOS.
Invoke
seedres
before starting pci-bios.
This server creates the /dev/pci device. Wait for it to
appear by specifying the following in the buildfile used by
mkifs:
pci-bios
waitfor /dev/pci
The pci-bios-v2 server is similar to pci-bios,
but supports Message Signaled Interrupts (MSI).
You must use pci-bios-v2 if you're using
startup-apic.
Note:
If you're using
pci-bios-v2, you must name it
pci-bios in order for the enumerators to work correctly.
In your buildfile, add
pci-bios-v2 like this:
pci-bios=pci-bios-v2
To assign MSI or MSI-X interrupts in a driver, use the
PCI_USE_MSI or PCI_USE_MSIX
flag when you call
pci_attach_device().
For more information, see its entry in the
QNX Neutrino C Library Reference.