Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/pci Adapt to pci_devinfo signature change.



details:   https://anonhg.NetBSD.org/src/rev/6160ded22360
branches:  trunk
changeset: 565960:6160ded22360
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Apr 24 15:09:54 2004 +0000

description:
Adapt to pci_devinfo signature change.

diffstat:

 sys/arch/i386/pci/pcibios.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cdc4f792e003 -r 6160ded22360 sys/arch/i386/pci/pcibios.c
--- a/sys/arch/i386/pci/pcibios.c       Sat Apr 24 13:41:51 2004 +0000
+++ b/sys/arch/i386/pci/pcibios.c       Sat Apr 24 15:09:54 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcibios.c,v 1.16 2004/04/11 06:00:26 kochi Exp $       */
+/*     $NetBSD: pcibios.c,v 1.17 2004/04/24 15:09:54 uwe Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcibios.c,v 1.16 2004/04/11 06:00:26 kochi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcibios.c,v 1.17 2004/04/24 15:09:54 uwe Exp $");
 
 #include "opt_pcibios.h"
 
@@ -296,7 +296,7 @@
                    PIR_DEVFUNC_FUNCTION(pcibios_pir_header.router_devfunc));
                if (pcibios_pir_header.compat_router != 0) {
                        pci_devinfo(pcibios_pir_header.compat_router, 0, 0,
-                           devinfo);
+                           devinfo, sizeof(devinfo));
                        printf(" (%s compatible)", devinfo);
                }
                printf("\n");



Home | Main Index | Thread Index | Old Index