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:
parent
2b2187130e
commit
bb11094995
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user