Date: Thu, 28 Apr 2016 17:50:16 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298749 - head/share/man/man9 Message-ID: <201604281750.u3SHoG1x015773@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Apr 28 17:50:16 2016 New Revision: 298749 URL: https://svnweb.freebsd.org/changeset/base/298749 Log: Document PCI_RES_BUS as a possible resource type. Modified: head/share/man/man9/bus_activate_resource.9 head/share/man/man9/bus_alloc_resource.9 Modified: head/share/man/man9/bus_activate_resource.9 ============================================================================== --- head/share/man/man9/bus_activate_resource.9 Thu Apr 28 17:48:52 2016 (r298748) +++ head/share/man/man9/bus_activate_resource.9 Thu Apr 28 17:50:16 2016 (r298749) @@ -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 allocat 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 Modified: head/share/man/man9/bus_alloc_resource.9 ============================================================================== --- head/share/man/man9/bus_alloc_resource.9 Thu Apr 28 17:48:52 2016 (r298748) +++ head/share/man/man9/bus_alloc_resource.9 Thu Apr 28 17:50:16 2016 (r298749) @@ -95,6 +95,8 @@ Before allocation, the resource is owned 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 o 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604281750.u3SHoG1x015773>