Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Say how big the buffer should be.



details:   https://anonhg.NetBSD.org/src/rev/cfd474ce9a09
branches:  trunk
changeset: 328316:cfd474ce9a09
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 30 23:28:14 2014 +0000

description:
Say how big the buffer should be.

diffstat:

 share/man/man9/pci_intr.9 |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 6d277bfdb990 -r cfd474ce9a09 share/man/man9/pci_intr.9
--- a/share/man/man9/pci_intr.9 Sun Mar 30 23:25:20 2014 +0000
+++ b/share/man/man9/pci_intr.9 Sun Mar 30 23:28:14 2014 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index