outb|inb warnings patch
this patch fix warnings produced by macros like outb (see the comment to
outb macro in sys/i386/include/cpufunc.h)
#1 Updated by joerg about 10 years ago
On Wed, Jan 18, 2006 at 08:52:27PM +0300, Alexey Slynko wrote:
> this patch fix warnings produced by macros like outb (see the comment to
> outb macro in sys/i386/include/cpufunc.h)
Please don't do this, this warnings are a good reminder that the code is
archaic and MUST be converted to newbus. Beside that is this fix
incorrect since ports are 16bit integers, aka shorts. The choosen type
is perfectly valid.
#7 Updated by tuxillo almost 3 years ago
- Description updated (diff)
- Status changed from New to Feedback
- Assignee deleted (
Does somebody have more information on this 'newbus conversion' stuff?
If so, either update this ticket or add it to the 'Projects page' and close this ticket.
#8 Updated by swildner almost 3 years ago
- Status changed from Feedback to Closed
There are no warnings anymore in the files affected by the two leftover patches (the rest were already removed some months ago). I guess this is due to compiler differences (GCC 4.4 and 4.7 both seem to get along fine with the current code).