Module Name: src
Committed By: knakahara
Date: Mon Aug 29 02:48:56 UTC 2016
Modified Files:
src/share/man/man9: pci_msi.9
Log Message:
specify when pci_intr_release(9) is called as "pih" is NULL.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man9/pci_msi.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/pci_msi.9
diff -u src/share/man/man9/pci_msi.9:1.10 src/share/man/man9/pci_msi.9:1.11
--- src/share/man/man9/pci_msi.9:1.10 Tue Jul 12 03:39:55 2016
+++ src/share/man/man9/pci_msi.9 Mon Aug 29 02:48:56 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_msi.9,v 1.10 2016/07/12 03:39:55 knakahara Exp $
+.\" $NetBSD: pci_msi.9,v 1.11 2016/08/29 02:48:56 knakahara Exp $
.\"
.\" Copyright (c) 2015 Internet Initiative Japan Inc.
.\" All rights reserved.
@@ -159,6 +159,11 @@ when the driver is no longer interested
After that, the driver should also call
.Fn pci_intr_release
to free resources about MSI as well as INTx and MSI-X.
+If
+.Fa pih
+is NULL,
+.Fn pci_intr_release
+does nothing.
.Pp
If a driver wishes to establish an MSI-X handler for the device,
it is almost the same as MSI.