summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep/if_epreg.h
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/dev/ep/if_epreg.h
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/dev/ep/if_epreg.h')
-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 5685832..1bef615 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. */
OpenPOWER on IntegriCloud