Fri Jul 24 07:40:58 2015 UTC ()
fix typo. reported by nonaka@n.o


(knakahara)
diff -r1.5 -r1.6 src/share/man/man9/pci_msi.9

cvs diff -r1.5 -r1.6 src/share/man/man9/pci_msi.9 (expand / switch to unified diff)

--- src/share/man/man9/pci_msi.9 2015/07/21 12:05:02 1.5
+++ src/share/man/man9/pci_msi.9 2015/07/24 07:40:58 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: pci_msi.9,v 1.5 2015/07/21 12:05:02 wiz Exp $ 1.\" $NetBSD: pci_msi.9,v 1.6 2015/07/24 07:40:58 knakahara Exp $
2.\" 2.\"
3.\" Copyright (c) 2015 Internet Initiative Japan Inc. 3.\" Copyright (c) 2015 Internet Initiative Japan Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 14.\"
@@ -284,25 +284,25 @@ all allocation function failures. @@ -284,25 +284,25 @@ all allocation function failures.
284On success, 284On success,
285.Fa counts 285.Fa counts
286is overwritten by a really allocated count. 286is overwritten by a really allocated count.
287I.e., if 5 MSI-X is allocated, 287I.e., if 5 MSI-X is allocated,
288.Fa counts 288.Fa counts
289is 289is
290.Bd -literal 290.Bd -literal
291 counts[PCI_INTR_TYPE_MSIX] == 5 291 counts[PCI_INTR_TYPE_MSIX] == 5
292 counts[PCI_INTR_TYPE_MSI] == 0 292 counts[PCI_INTR_TYPE_MSI] == 0
293 counts[PCI_INTR_TYPE_INTX] == 0 293 counts[PCI_INTR_TYPE_INTX] == 0
294.Ed 294.Ed
295on return. 295on return.
296.Pp 296.Pp
297.Ft pci_intr_type_t 297.Fn pci_intr_type
298returns the interrupt type of 298returns the interrupt type of
299.Fa ih . 299.Fa ih .
300The return value is 300The return value is
301.Dv PCI_INTR_TYPE_MSIX 301.Dv PCI_INTR_TYPE_MSIX
302for MSI-X, 302for MSI-X,
303.Dv PCI_INTR_TYPE_MSI 303.Dv PCI_INTR_TYPE_MSI
304for MSI, and 304for MSI, and
305.Dv PCI_INTR_TYPE_INTX 305.Dv PCI_INTR_TYPE_INTX
306for others. 306for others.
307.Sh SEE ALSO 307.Sh SEE ALSO
308.Xr pci_intr 9 308.Xr pci_intr 9