summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci_compat.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-03 20:17:08 +0000
committerpeter <peter@FreeBSD.org>1999-07-03 20:17:08 +0000
commite5f4c63f137412a3f0691e64764e14569e7980db (patch)
tree2214af4f0dd363ebb3955ef6675f2e07918ae16b /sys/pci/pci_compat.c
parent7afdd102ca81aa50337adf724b0a330ca4120544 (diff)
downloadFreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.zip
FreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.tar.gz
Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire
files. config will leave the whole file out if configured to do so.
Diffstat (limited to 'sys/pci/pci_compat.c')
-rw-r--r--sys/pci/pci_compat.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c
index e97ad273..48ba902 100644
--- a/sys/pci/pci_compat.c
+++ b/sys/pci/pci_compat.c
@@ -23,15 +23,12 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci_compat.c,v 1.28 1999/05/11 15:28:38 peter Exp $
+ * $Id: pci_compat.c,v 1.29 1999/05/31 22:13:36 roger Exp $
*
*/
#include "opt_bus.h"
-#include "pci.h"
-#if NPCI > 0
-
/* for compatibility to FreeBSD-2.2 version of PCI code */
#include <sys/param.h>
@@ -282,4 +279,3 @@ pci_get_bus_from_tag(pcici_t tag)
}
#endif /* PCI_COMPAT */
-#endif /* NPCI > 0 */
OpenPOWER on IntegriCloud