Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/share/man/man9 Pull up following revision(s) (requested b...



details:   https://anonhg.NetBSD.org/src/rev/5cfedb4a22ff
branches:  netbsd-9
changeset: 964262:5cfedb4a22ff
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jan 15 17:46:40 2021 +0000

description:
Pull up following revision(s) (requested by knakahara in ticket #1185):

        share/man/man9/pci_msi.9: revision 1.18

Fix PR kern/55920 .  Add pci_msi_count() and pci_msix_count() description.

diffstat:

 share/man/man9/pci_msi.9 |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 1d6badfb643e -r 5cfedb4a22ff share/man/man9/pci_msi.9
--- a/share/man/man9/pci_msi.9  Sat Jan 09 19:31:08 2021 +0000
+++ b/share/man/man9/pci_msi.9  Fri Jan 15 17:46:40 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_msi.9,v 1.17 2018/11/27 20:13:43 jdolecek Exp $
+.\" $NetBSD: pci_msi.9,v 1.17.2.1 2021/01/15 17:46:40 martin Exp $
 .\"
 .\" Copyright (c) 2015 Internet Initiative Japan Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 27, 2018
+.Dd January 12, 2021
 .Dt PCI_MSI 9
 .Os
 .Sh NAME
@@ -96,6 +96,14 @@
 of the device in the PCI bus topology sufficient to allow interrupts
 from the device to be handled.
 .Pp
+.Fn pci_msi_count
+returns the max number of the device's MSI.
+If the device can not use MSI,
+.Fn pci_msi_count
+returns zero.
+.Fn pci_msix_count
+works in the same manner for MSI-X.
+.Pp
 If a driver wishes to establish an MSI handler for the device,
 it should pass the
 .Ft struct pci_attach_args *



Home | Main Index | Thread Index | Old Index