From 7881c7578fc2cf286f6d3cdf221522d94fc745d8 Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 6 Aug 2003 18:06:30 +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/ed/if_ed_cbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/ed/if_ed_cbus.c b/sys/dev/ed/if_ed_cbus.c index 9676bcb..4a3c651 100644 --- a/sys/dev/ed/if_ed_cbus.c +++ b/sys/dev/ed/if_ed_cbus.c @@ -975,7 +975,7 @@ ed_reset_CNET98(sc, flags) struct ed_softc *sc; int flags; { - u_short init_addr = ED_CNET98_INIT; + u_int init_addr = ED_CNET98_INIT; u_char tmp; /* Choose initial register address */ -- cgit v1.1