summaryrefslogtreecommitdiffstats
path: root/sys/dev/ie
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-08-06 17:28:33 +0000
committerbde <bde@FreeBSD.org>2003-08-06 17:28:33 +0000
commit0a08034172a8fbb9853f644ea77b29c5c1cd7a12 (patch)
treee651c3873c9af2571b1bd8871fb61c544b9c02e4 /sys/dev/ie
parent9070d87d20974e6210a638a36897c669357cb404 (diff)
downloadFreeBSD-src-0a08034172a8fbb9853f644ea77b29c5c1cd7a12.zip
FreeBSD-src-0a08034172a8fbb9853f644ea77b29c5c1cd7a12.tar.gz
Don't use pessimal (u_short) types for i/o ports. This is mainly for
completenss. The pessimization is tiny compared with i/o port slowness except on very old machines, but code that used signed short types for i/o ports was unpessimized long ago, and the macro that detected it recently started working for u_short types too. Use of bus space should have made this moot long ago. Not tested at runtime by: bde
Diffstat (limited to 'sys/dev/ie')
-rw-r--r--sys/dev/ie/if_ievar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ie/if_ievar.h b/sys/dev/ie/if_ievar.h
index c41d7ee..a57b2d0 100644
--- a/sys/dev/ie/if_ievar.h
+++ b/sys/dev/ie/if_ievar.h
@@ -40,7 +40,7 @@ struct ie_softc {
bus_space_tag_t mem_bt;
bus_space_handle_t mem_bh;
- u_short port; /* i/o base address for this interface */
+ u_int port; /* i/o base address for this interface */
caddr_t iomem; /* memory size */
caddr_t iomembot; /* memory base address */
unsigned iosize;
OpenPOWER on IntegriCloud