summaryrefslogtreecommitdiffstats
path: root/sys/dev/ar
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1996-10-31 20:22:40 +0000
committerjhay <jhay@FreeBSD.org>1996-10-31 20:22:40 +0000
commit24d5f5f54cca5c6ae18ce6b44d508cafad3d4aeb (patch)
tree9ab314f4a66bcd5422165265d7036f20a7f65215 /sys/dev/ar
parent3029e93724ecfbddd852dbe1fa155b88ab47ba16 (diff)
downloadFreeBSD-src-24d5f5f54cca5c6ae18ce6b44d508cafad3d4aeb.zip
FreeBSD-src-24d5f5f54cca5c6ae18ce6b44d508cafad3d4aeb.tar.gz
if_sr.c corrupted the global variable `ticks'.
Cosmetic changes: if_sr_.c won't compile with a K&R compiler, so there is no need to cast the timeout arg to the (wrong) type. Submitted by: bde
Diffstat (limited to 'sys/dev/ar')
-rw-r--r--sys/dev/ar/if_ar.c13
-rw-r--r--sys/dev/ar/if_ar_isa.c13
2 files changed, 8 insertions, 18 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c
index acb6a50..b5c87ad 100644
--- a/sys/dev/ar/if_ar.c
+++ b/sys/dev/ar/if_ar.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ar.c,v 1.10 1996/09/06 23:07:24 phk Exp $
+ * $Id: if_ar.c,v 1.11 1996/10/28 19:40:01 jhay Exp $
*/
/*
@@ -53,22 +53,15 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/mbuf.h>
-#include <sys/ioctl.h>
+#include <sys/sockio.h>
#include <sys/socket.h>
-#include <sys/conf.h>
-#include <sys/errno.h>
-#include <sys/malloc.h>
-#include <sys/syslog.h>
#include <net/if.h>
-#include <net/if_types.h>
#include <net/if_sppp.h>
#if NBPFILTER > 0
#include <net/bpf.h>
-#include <net/bpfdesc.h>
#endif
#include <machine/clock.h>
@@ -77,6 +70,8 @@
#include <i386/isa/if_arregs.h>
#include <i386/isa/ic/hd64570.h>
+#include "ioconf.h"
+
#ifdef TRACE
#define TRC(x) x
#else
diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c
index acb6a50..b5c87ad 100644
--- a/sys/dev/ar/if_ar_isa.c
+++ b/sys/dev/ar/if_ar_isa.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ar.c,v 1.10 1996/09/06 23:07:24 phk Exp $
+ * $Id: if_ar.c,v 1.11 1996/10/28 19:40:01 jhay Exp $
*/
/*
@@ -53,22 +53,15 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/mbuf.h>
-#include <sys/ioctl.h>
+#include <sys/sockio.h>
#include <sys/socket.h>
-#include <sys/conf.h>
-#include <sys/errno.h>
-#include <sys/malloc.h>
-#include <sys/syslog.h>
#include <net/if.h>
-#include <net/if_types.h>
#include <net/if_sppp.h>
#if NBPFILTER > 0
#include <net/bpf.h>
-#include <net/bpfdesc.h>
#endif
#include <machine/clock.h>
@@ -77,6 +70,8 @@
#include <i386/isa/if_arregs.h>
#include <i386/isa/ic/hd64570.h>
+#include "ioconf.h"
+
#ifdef TRACE
#define TRC(x) x
#else
OpenPOWER on IntegriCloud