]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't use pessimal (u_short) types for i/o ports. This is mainly for
authorBruce Evans <bde@FreeBSD.org>
Wed, 6 Aug 2003 17:28:33 +0000 (17:28 +0000)
committerBruce Evans <bde@FreeBSD.org>
Wed, 6 Aug 2003 17:28:33 +0000 (17:28 +0000)
commitbb110949958cd06ccee0b89b91dd22d9c8ed1542
treee651c3873c9af2571b1bd8871fb61c544b9c02e4
parent2b2187130e929489d1597116160de05621f28d35
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/ie/if_ievar.h