the prototype for pci_conf_interrupt() was wrong. correct.

This commit is contained in:
garbled 2006-02-22 03:07:40 +00:00
parent 5c869c790e
commit 8609f77fcb

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pci_configure_bus.9,v 1.12 2004/03/05 14:56:47 wiz Exp $
.\" $NetBSD: pci_configure_bus.9,v 1.13 2006/02/22 03:07:40 garbled Exp $
.\"
.\" Copyright 2001 Wasabi Systems, Inc.
.\" All rights reserved.
@ -33,7 +33,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd February 25, 2002
.Dd February 21, 2006
.Dt PCI_CONFIGURE_BUS 9
.Os
.Sh NAME
@ -175,13 +175,13 @@ must be defined.
The prototype for this function is
.Pp
.Fn "void pci_conf_interrupt" "pci_chipset_tag_t pc" "int bus" \
"int device" "int function" "int swiz" "int *iline"
"int device" "int pin" "int swiz" "int *iline"
.Pp
In this function,
.Fa bus ,
.Fa device ,
and
.Fa function ,
.Fa pin ,
uniquely identify the item being configured.
The
.Fa swiz
@ -236,7 +236,7 @@ function in the sandpoint implementation looks like:
.Pp
.Bd -literal -compact
void
pci_conf_interrupt(pci_chipset_tag_t pc, int bus, int dev, int func,
pci_conf_interrupt(pci_chipset_tag_t pc, int bus, int dev, int pin,
int swiz, int *iline)
{
if (bus == 0) {