From 56ea8a7c077bf6f7cbc5585ca0926ab0274320a3 Mon Sep 17 00:00:00 2001 From: mickey Date: Sun, 5 Mar 2000 19:07:43 +0000 Subject: [PATCH] export bios_pciinfo for the whole _KERNEL, there will be more files to use it --- sys/arch/i386/include/biosvar.h | 3 ++- sys/arch/i386/pci/pci_machdep.c | 3 +-- 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 -extern bios_pciinfo_t *bios_pciinfo; #endif #include -- 2.20.1