summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-03-05 19:07:45 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-03-05 19:07:45 +0000
commit002ad733068d179d95191e3aaf9ef3c0180fd1d7 (patch)
tree018cf2b767541e0c5fbf1243a1d11be117524dae /sys/arch/i386
parentb44d65e0c68e7de877a50996a4f31ac70f6309d7 (diff)
export bios_pciinfo for the whole _KERNEL, there will be more files to use it
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/include/biosvar.h3
-rw-r--r--sys/arch/i386/pci/pci_machdep.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h
index 96d15834394..2b77643e0d5 100644
--- a/sys/arch/i386/include/biosvar.h
+++ b/sys/arch/i386/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.33 2000/02/18 17:10:09 mickey Exp $ */
+/* $OpenBSD: biosvar.h,v 1.34 2000/03/05 19:07:43 mickey Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -194,6 +194,7 @@ void bios_getopt __P((void));
extern u_int bootapiver;
extern bios_memmap_t *bios_memmap;
+extern bios_pciinfo_t *bios_pciinfo;
#endif /* _KERNEL */
#endif /* _LOCORE */
diff --git a/sys/arch/i386/pci/pci_machdep.c b/sys/arch/i386/pci/pci_machdep.c
index 418710df14e..d93806fe96f 100644
--- a/sys/arch/i386/pci/pci_machdep.c
+++ b/sys/arch/i386/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.14 1999/01/11 05:11:26 millert Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.15 2000/03/05 19:07:44 mickey Exp $ */
/* $NetBSD: pci_machdep.c,v 1.28 1997/06/06 23:29:17 thorpej Exp $ */
/*-
@@ -97,7 +97,6 @@
#include "bios.h"
#if NBIOS > 0
#include <machine/biosvar.h>
-extern bios_pciinfo_t *bios_pciinfo;
#endif
#include <i386/isa/icu.h>