mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Document PCI_RES_BUS as a possible resource type.
This commit is contained in:
parent
de70bf980b
commit
55c661caad
2 changed files with 6 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
|||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd March 28, 2003
|
||||
.Dd April 28, 2016
|
||||
.Dt BUS_ACTIVATE_RESOURCE 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -65,6 +65,8 @@ The type of resource you want to allocate.
|
|||
It is one of:
|
||||
.Pp
|
||||
.Bl -tag -width ".Dv SYS_RES_MEMORY" -compact
|
||||
.It Dv PCI_RES_BUS
|
||||
for PCI bus numbers
|
||||
.It Dv SYS_RES_IRQ
|
||||
for IRQs
|
||||
.It Dv SYS_RES_DRQ
|
||||
|
|
|
|||
|
|
@ -95,6 +95,8 @@ Before allocation, the resource is owned by the parent bus.
|
|||
is the type of resource you want to allocate.
|
||||
It is one of:
|
||||
.Bl -tag -width SYS_RES_MEMORY
|
||||
.It Dv PCI_RES_BUS
|
||||
for PCI bus numbers
|
||||
.It Dv SYS_RES_IRQ
|
||||
for IRQs
|
||||
.It Dv SYS_RES_DRQ
|
||||
|
|
@ -111,7 +113,7 @@ For ISA this is an index into an array of resources that have been setup
|
|||
for this device by either the PnP mechanism, or via the hints mechanism.
|
||||
For PCCARD, this is an index into the array of resources described by the PC Card's
|
||||
CIS entry.
|
||||
For PCI, the offset into pci config space which has the BAR to use to access
|
||||
For PCI, the offset into PCI config space which has the BAR to use to access
|
||||
the resource.
|
||||
The bus methods are free to change the RIDs that they are given as a parameter.
|
||||
You must not depend on the value you gave it earlier.
|
||||
|
|
|
|||
Loading…
Reference in a new issue