summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1995-03-23 07:31:08 +0000
committergibbs <gibbs@FreeBSD.org>1995-03-23 07:31:08 +0000
commit130cfc33a6ada1fee511a839dce0e8c0e9d27af8 (patch)
treefb9d88218c1d2b4c8bdde891f0d97119c2deac50 /sys/i386/eisa
parent9baf4c9564c2662f0230d701338710558b060df0 (diff)
downloadFreeBSD-src-130cfc33a6ada1fee511a839dce0e8c0e9d27af8.zip
FreeBSD-src-130cfc33a6ada1fee511a839dce0e8c0e9d27af8.tar.gz
aha1742.c:
#include <i386/isa/isa.h> return IO_EISASIZE instead of hard coded 0x1000. if_ep.c: Remove commented out disabling of interrupts that gave a "comment withing a comment" warning.
Diffstat (limited to 'sys/i386/eisa')
-rw-r--r--sys/i386/eisa/aha1742.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/eisa/aha1742.c b/sys/i386/eisa/aha1742.c
index 21bb1a2..9ef2fdd 100644
--- a/sys/i386/eisa/aha1742.c
+++ b/sys/i386/eisa/aha1742.c
@@ -14,7 +14,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aha1742.c,v 1.26 1994/11/16 02:45:35 bde Exp $
+ * $Id: aha1742.c,v 1.27 1994/11/26 23:10:03 ats Exp $
*/
#include <sys/types.h>
@@ -29,6 +29,7 @@
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/user.h>
+#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
#else
#define NAHB 1
@@ -520,7 +521,7 @@ ahbprobe1(dev)
dev->id_drq = -1; /* use EISA dma */
ahb_unit++;
- return 0x1000;
+ return IO_EISASIZE;
}
/*
OpenPOWER on IntegriCloud