diff options
author | bde <bde@FreeBSD.org> | 2003-08-05 20:11:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2003-08-05 20:11:50 +0000 |
commit | e6b31b28140188d90a9dd49e4543af529f64843f (patch) | |
tree | 14a44882470d4b79fe3c927933ed33762017650b /sys/i386/isa/spic.c | |
parent | 52bff5229a998fce244a92247317fb6536b7a8d8 (diff) | |
download | FreeBSD-src-e6b31b28140188d90a9dd49e4543af529f64843f.zip FreeBSD-src-e6b31b28140188d90a9dd49e4543af529f64843f.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/i386/isa/spic.c')
-rw-r--r-- | sys/i386/isa/spic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/spic.c b/sys/i386/isa/spic.c index 9eace58..a0afcb9 100644 --- a/sys/i386/isa/spic.c +++ b/sys/i386/isa/spic.c @@ -97,7 +97,7 @@ static struct cdevsw spic_cdevsw = { #define SCBUFLEN 128 struct spic_softc { - u_short sc_port_addr; + u_int sc_port_addr; u_char sc_intr; struct resource *sc_port_res,*sc_intr_res; int sc_port_rid,sc_intr_rid; |