From 55a6f50b8d4c8f0e465cfde87eccf711be680e9f Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 5 Aug 2003 20:11:50 +0000 Subject: 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 --- sys/dev/digi/digi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/digi') diff --git a/sys/dev/digi/digi.h b/sys/dev/digi/digi.h index e8f9e0fe2f14..c5c1a4c60342 100644 --- a/sys/dev/digi/digi.h +++ b/sys/dev/digi/digi.h @@ -152,8 +152,8 @@ struct digi_softc { const char *name; enum digi_board_status status; ushort numports; /* number of ports on card */ - ushort port; /* I/O port */ - ushort wport; /* window select I/O port */ + u_int port; /* I/O port */ + u_int wport; /* window select I/O port */ struct { struct resource *mem; -- cgit v1.3