aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ep
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-11-11 17:11:08 +0000
committerBruce Evans <bde@FreeBSD.org>1996-11-11 17:11:08 +0000
commitf806e8f0f181a67b5d6592714284938265575e53 (patch)
tree9c298019432e0d49f8747e82e4f8eee4e043f687 /sys/dev/ep
parent435b9481cde1e066832db903eb2648638fe7df02 (diff)
downloadsrc-f806e8f0f181a67b5d6592714284938265575e53.tar.gz
src-f806e8f0f181a67b5d6592714284938265575e53.zip
Fixed pessimized (short) i/o port type.
The change in if_epreg.h affects if_epreg.o and 3c5x9.o. These changes are probably harmless, but I can't test them.
Notes
Notes: svn path=/head/; revision=19650
Diffstat (limited to 'sys/dev/ep')
-rw-r--r--sys/dev/ep/if_epreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ep/if_epreg.h b/sys/dev/ep/if_epreg.h
index 5685832ccfee..1bef6154eac7 100644
--- a/sys/dev/ep/if_epreg.h
+++ b/sys/dev/ep/if_epreg.h
@@ -31,7 +31,7 @@
*/
/*
- * $Id: if_epreg.h,v 1.16 1996/08/06 21:14:06 phk Exp $
+ * $Id: if_epreg.h,v 1.17 1996/09/08 10:44:10 phk Exp $
*
* Promiscuous mode added and interrupt logic slightly changed
* to reduce the number of adapter failures. Transceiver select
@@ -54,7 +54,7 @@
*/
struct ep_softc {
struct arpcom arpcom; /* Ethernet common part */
- short ep_io_addr; /* i/o bus address */
+ int ep_io_addr; /* i/o bus address */
#define MAX_MBS 8 /* # of mbufs we keep around */
struct mbuf *mb[MAX_MBS]; /* spare mbuf storage. */
int next_mb; /* Which mbuf to use next. */