Module Name: src
Committed By: christos
Date: Sun Mar 30 23:28:14 UTC 2014
Modified Files:
src/share/man/man9: pci_intr.9
Log Message:
Say how big the buffer should be.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man9/pci_intr.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_intr.9
diff -u src/share/man/man9/pci_intr.9:1.16 src/share/man/man9/pci_intr.9:1.17
--- src/share/man/man9/pci_intr.9:1.16 Sat Mar 29 20:18:09 2014
+++ src/share/man/man9/pci_intr.9 Sun Mar 30 19:28:14 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_intr.9,v 1.16 2014/03/30 00:18:09 christos Exp $
+.\" $NetBSD: pci_intr.9,v 1.17 2014/03/30 23:28:14 christos Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd March 29, 2014
+.Dd March 30, 2014
.Dt PCI_INTR 9
.Os
.Sh NAME
@@ -84,6 +84,11 @@ identifies a particular interrupt source
If the driver wishes to refer to the interrupt source in an attach or
error message, it should use the value returned by
.Fn pci_intr_string .
+The buffer passed to
+.Fn pci_intr_string
+should be at least
+.Dv PCI_INTRSTR_LEN
+bytes.
.Pp
Subsequently, when the driver is prepared to receive interrupts, it
should call