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
This commit is contained in:
Bruce Evans 2003-08-06 17:28:33 +00:00
parent 2b2187130e
commit bb11094995
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118555

View File

@ -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;