DragonFly BSD
DragonFly submit List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: outb|inb warnings patch


From: joerg@xxxxxxxxxxxxxxxxx
Date: Wed, 18 Jan 2006 20:55:14 +0100
Mail-followup-to: submit@crater.dragonflybsd.org

On Wed, Jan 18, 2006 at 08:52:27PM +0300, Alexey Slynko wrote:
> Hi,
> 
> 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.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]