summaryrefslogtreecommitdiffstats
path: root/sys/isa/isavar.h
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-22 15:18:28 +0000
committerdfr <dfr@FreeBSD.org>1999-05-22 15:18:28 +0000
commit6f9e5e854190ab2e7fbe71ec2b59354a448a1950 (patch)
treeafd3454efd3e35a02a2f525336e9c7188ac49147 /sys/isa/isavar.h
parentcd70cc4f2c802c38796d000c8a8ad692a695e9f5 (diff)
downloadFreeBSD-src-6f9e5e854190ab2e7fbe71ec2b59354a448a1950.zip
FreeBSD-src-6f9e5e854190ab2e7fbe71ec2b59354a448a1950.tar.gz
* 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.
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 a20f66d..b8a3a9d 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)
-
OpenPOWER on IntegriCloud