Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix sample code in comment; pci_conf_print() tak...



details:   https://anonhg.NetBSD.org/src/rev/e346b52d807d
branches:  trunk
changeset: 514698:e346b52d807d
user:      enami <enami%NetBSD.org@localhost>
date:      Sun Sep 09 01:45:29 2001 +0000

description:
Fix sample code in comment; pci_conf_print() takes three arguments.

diffstat:

 sys/dev/pci/pci_subr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 338e43c58e05 -r e346b52d807d sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Sun Sep 09 00:48:54 2001 +0000
+++ b/sys/dev/pci/pci_subr.c    Sun Sep 09 01:45:29 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_subr.c,v 1.42 2001/01/18 13:12:13 jdolecek Exp $   */
+/*     $NetBSD: pci_subr.c,v 1.43 2001/09/09 01:45:29 enami Exp $      */
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -414,7 +414,7 @@
  *
  *     #ifdef MYDEV_DEBUG
  *             printf("%s: ", sc->sc_dev.dv_xname);
- *             pci_conf_print(pa->pa_pc, pa->pa_tag);
+ *             pci_conf_print(pa->pa_pc, pa->pa_tag, NULL);
  *     #endif
  */
 



Home | Main Index | Thread Index | Old Index