pci_pir.c (6706) | pci_pir.c (6734) |
---|---|
1/************************************************************************** 2** | 1/************************************************************************** 2** |
3** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $ | 3** $Id: pcibus.c,v 1.3 1995/02/25 17:51:18 se Exp $ |
4** 5** pci bus subroutines for i386 architecture. 6** 7** FreeBSD 8** 9**------------------------------------------------------------------------- 10** 11** Copyright (c) 1994 Wolfgang Stanglmeier. All rights reserved. --- 28 unchanged lines hidden (view full) --- 40#define __FreeBSD2__ 41#endif 42#endif 43 44#ifdef __FreeBSD2__ 45#define HAS_CPUFUNC_H 46#endif 47 | 4** 5** pci bus subroutines for i386 architecture. 6** 7** FreeBSD 8** 9**------------------------------------------------------------------------- 10** 11** Copyright (c) 1994 Wolfgang Stanglmeier. All rights reserved. --- 28 unchanged lines hidden (view full) --- 40#define __FreeBSD2__ 41#endif 42#endif 43 44#ifdef __FreeBSD2__ 45#define HAS_CPUFUNC_H 46#endif 47 |
48#include <types.h> 49#include <param.h> 50#include | 48#include <sys/param.h> 49#include <sys/systm.h> 50#include <sys/kernel.h> 51 52#include <i386/isa/icu.h> |
51#include <i386/isa/isa.h> 52#include <i386/isa/isa_device.h> | 53#include <i386/isa/isa.h> 54#include <i386/isa/isa_device.h> |
53#include <i386/isa/icu.h> | |
54 | 55 |
55#ifdef HAS_CPUFUNC_H 56#include <i386/include/cpufunc.h> 57#endif 58 | |
59#include <pci/pcivar.h> 60#include <pci/pcireg.h> 61#include <pci/pcibus.h> 62 | 56#include <pci/pcivar.h> 57#include <pci/pcireg.h> 58#include <pci/pcibus.h> 59 |
63extern int printf(); 64 | |
65static char pci_mode; 66 67/*----------------------------------------------------------------- 68** 69** The following functions are provided by the pci bios. 70** They are used only by the pci configuration. 71** 72** pcibus_mode(): --- 372 unchanged lines hidden --- | 60static char pci_mode; 61 62/*----------------------------------------------------------------- 63** 64** The following functions are provided by the pci bios. 65** They are used only by the pci configuration. 66** 67** pcibus_mode(): --- 372 unchanged lines hidden --- |