diff options
author | John Hay <jhay@FreeBSD.org> | 1996-10-31 20:22:40 +0000 |
---|---|---|
committer | John Hay <jhay@FreeBSD.org> | 1996-10-31 20:22:40 +0000 |
commit | 75c66a120a1ca214e8f3364ed3b5b64d02570dd3 (patch) | |
tree | 9ab314f4a66bcd5422165265d7036f20a7f65215 /sys/dev/ar | |
parent | eea6c03c51e4ee63b08831a5bffe6c5698aa6250 (diff) | |
download | src-75c66a120a1ca214e8f3364ed3b5b64d02570dd3.tar.gz src-75c66a120a1ca214e8f3364ed3b5b64d02570dd3.zip |
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
Notes
Notes:
svn path=/head/; revision=19296
Diffstat (limited to 'sys/dev/ar')
-rw-r--r-- | sys/dev/ar/if_ar.c | 13 | ||||
-rw-r--r-- | sys/dev/ar/if_ar_isa.c | 13 |
2 files changed, 8 insertions, 18 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c index acb6a50e901c..b5c87ad478d7 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 acb6a50e901c..b5c87ad478d7 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 |