summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-10-21 01:19:28 +0000
committerwollman <wollman@FreeBSD.org>1994-10-21 01:19:28 +0000
commit3a9b1c345aa754e6b2ad22027ceef577f7c77551 (patch)
tree5fc19e7150289ae5b5e20a8e8f5051859ddcad22 /sys/i386
parent207112cfcf4a98bc0c11c23595d30aa2d83c5b6f (diff)
downloadFreeBSD-src-3a9b1c345aa754e6b2ad22027ceef577f7c77551.zip
FreeBSD-src-3a9b1c345aa754e6b2ad22027ceef577f7c77551.tar.gz
Make my ALLDEVS kernel compile (basically, LINT minus a lot of options).
This involves fixing a few things I broke last time.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/isa/ctx.c9
-rw-r--r--sys/i386/isa/if_el.c8
-rw-r--r--sys/i386/isa/mse.c4
3 files changed, 11 insertions, 10 deletions
diff --git a/sys/i386/isa/ctx.c b/sys/i386/isa/ctx.c
index 7a14059..8930d27 100644
--- a/sys/i386/isa/ctx.c
+++ b/sys/i386/isa/ctx.c
@@ -8,7 +8,7 @@
* of this software, nor does the author assume any responsibility
* for damages incurred with its use.
*
- * $Id: ctx.c,v 1.1 1994/10/01 17:59:41 davidg Exp $
+ * $Id: ctx.c,v 1.2 1994/10/19 01:58:55 wollman Exp $
*/
/*
@@ -119,10 +119,11 @@
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/devconf.h>
-#include "isa.h"
-#include "isa_device.h"
-#include "ctxreg.h"
+#include <i386/isa/isa.h>
+#include <i386/isa/isa_device.h>
+#include <i386/isa/ctxreg.h>
#include <machine/ioctl_ctx.h>
int waitvb(short);
diff --git a/sys/i386/isa/if_el.c b/sys/i386/isa/if_el.c
index 82d3e8c..c0f52a2 100644
--- a/sys/i386/isa/if_el.c
+++ b/sys/i386/isa/if_el.c
@@ -6,7 +6,7 @@
*
* Questions, comments, bug reports and fixes to kimmel@cs.umass.edu.
*
- * $Id: if_el.c,v 1.5 1994/08/13 03:50:04 wollman Exp $
+ * $Id: if_el.c,v 1.6 1994/10/19 01:58:59 wollman Exp $
*/
/* Except of course for the portions of code lifted from other FreeBSD
* drivers (mainly elread, elget and el_ioctl)
@@ -84,7 +84,7 @@ void elintr(int);
int el_ioctl(struct ifnet *,int,caddr_t);
int el_probe(struct isa_device *);
void el_start(struct ifnet *);
-void el_reset(int,int);
+void el_reset(int);
void el_watchdog(int);
static void el_stop(int);
@@ -238,7 +238,7 @@ int el_attach(struct isa_device *idev)
}
/* This routine resets the interface. */
-void el_reset(int unit,int uban)
+void el_reset(int unit)
{
int s;
@@ -827,6 +827,6 @@ void el_watchdog(int unit)
log(LOG_ERR,"el%d: device timeout\n",unit);
sc->arpcom.ac_if.if_oerrors++;
- el_reset(unit,0);
+ el_reset(unit);
}
#endif
diff --git a/sys/i386/isa/mse.c b/sys/i386/isa/mse.c
index 5ce5c03..6337fde 100644
--- a/sys/i386/isa/mse.c
+++ b/sys/i386/isa/mse.c
@@ -11,7 +11,7 @@
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
- * $Id: mse.c,v 1.5 1994/08/02 07:39:39 davidg Exp $
+ * $Id: mse.c,v 1.6 1994/08/13 03:50:10 wollman Exp $
*/
/*
* Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and
@@ -45,10 +45,10 @@
#include "mse.h"
#if NMSE > 0
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/buf.h>
-#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/ioctl.h>
#include <sys/tty.h>
OpenPOWER on IntegriCloud