Notify drivers that we "prefer" I/O mapped space, per discussion with

Chris Demetriou and Matt Thomas, some two or three months ago.  (This hint
is used by the latest "de" driver.)
This commit is contained in:
thorpej 1997-08-26 03:14:06 +00:00
parent 752582ba69
commit 75a4512f7f
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pci_machdep.h,v 1.7 1997/06/06 23:29:18 thorpej Exp $ */
/* $NetBSD: pci_machdep.h,v 1.8 1997/08/26 03:14:06 thorpej Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@ -34,6 +34,14 @@
* Machine-specific definitions for PCI autoconfiguration.
*/
/*
* Many i386 PCI systems only work properly with I/O mapped space, in
* particular, buses behind PCI-PCI bridges may not have memory
* space mapped at all. For this reason, tell drivers that have
* a choice that we "prefer" I/O space.
*/
#define PCI_PREFER_IOSPACE
/*
* i386-specific PCI structure and type definitions.
* NOT TO BE USED DIRECTLY BY MACHINE INDEPENDENT CODE.