summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_zp.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-11-11 17:11:08 +0000
committerbde <bde@FreeBSD.org>1996-11-11 17:11:08 +0000
commitcec56fb682f2b6f835f39950ff1eaee6d2bac204 (patch)
tree9c298019432e0d49f8747e82e4f8eee4e043f687 /sys/i386/isa/if_zp.c
parent94f72a8124c5e9451ffa605f69fbbab413325e75 (diff)
downloadFreeBSD-src-cec56fb682f2b6f835f39950ff1eaee6d2bac204.zip
FreeBSD-src-cec56fb682f2b6f835f39950ff1eaee6d2bac204.tar.gz
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.
Diffstat (limited to 'sys/i386/isa/if_zp.c')
-rw-r--r--sys/i386/isa/if_zp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c
index be676c1..f4b1a7b 100644
--- a/sys/i386/isa/if_zp.c
+++ b/sys/i386/isa/if_zp.c
@@ -34,7 +34,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
- * $Id: if_zp.c,v 1.25 1996/09/07 17:52:56 nate Exp $
+ * $Id: if_zp.c,v 1.26 1996/09/11 16:11:21 nate Exp $
*/
/*-
* TODO:
@@ -168,7 +168,7 @@ static struct zp_softc {
struct mbuf *mb[MAX_MBS]; /* spare mbuf storage. */
int next_mb; /* Which mbuf to use next. */
int last_mb; /* Last mbuf. */
- short ep_io_addr; /* i/o bus address */
+ int ep_io_addr; /* i/o bus address */
char ep_connectors; /* Connectors on this card. */
int tx_start_thresh;/* Current TX_start_thresh. */
char bus32bit; /* 32bit access possible */
OpenPOWER on IntegriCloud