aboutsummaryrefslogtreecommitdiff
path: root/sys/isa/isavar.h
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-05-22 15:18:28 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-05-22 15:18:28 +0000
commita3be63b3ce302593b470b6b6be5f609fb4735376 (patch)
treeb19a178082c1780c902bd6134120160bd32c8928 /sys/isa/isavar.h
parent7e082b48a2e0f32ad82cf7c02f56dc90b5ccbfa6 (diff)
downloadsrc-a3be63b3ce302593b470b6b6be5f609fb4735376.tar.gz
src-a3be63b3ce302593b470b6b6be5f609fb4735376.zip
* Factor out the common code between the isa bus drivers for i386 and alpha.
* Re-work the resource allocation code to use helper functions in subr_bus.c. * Add simple isa interface for manipulating the resource ranges which can be allocated and remove the code from isa_write_ivar() which was previously used for this purpose.
Notes
Notes: svn path=/head/; revision=47398
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r--sys/isa/isavar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h
index a20f66de54d6..b8a3a9d998b9 100644
--- a/sys/isa/isavar.h
+++ b/sys/isa/isavar.h
@@ -23,9 +23,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: isavar.h,v 1.5 1999/05/08 18:11:04 peter Exp $
+ * $Id: isavar.h,v 1.6 1999/05/14 11:22:35 dfr Exp $
*/
+#include "isa_if.h"
+
#define ISA_NPORT_IVARS 2
#define ISA_NMEM_IVARS 2
#define ISA_NIRQ_IVARS 2
@@ -84,4 +86,3 @@ ISA_ACCESSOR(drq, DRQ, int)
ISA_ACCESSOR(maddr, MADDR, int)
ISA_ACCESSOR(msize, MSIZE, int)
ISA_ACCESSOR(flags, FLAGS, int)
-