On Fri, Jul 22, 2005 at 12:57:58PM +0200, Michael Kerrisk wrote: > > tag 263756 patch > > thanks > > > > I propose to replace the text of the relevent paragraph (CONFORMING > > TO) with: > > > > outb and friends are hardware specific. The value argument is > > passed secand and the port argument is passed first, which > > is the opposite order from most DOS implementations. > > > > (as per: /usr/include/asm/io.h) > > Hi Justin, > > I do not really know the answer on this point, but how do > you deduce this order from that header file? > > Some grepping of kernel sources seems to indicate to me that > the order is outb(value, port). Also in /usr/include/sys/io.h > I see: > > static __inline void > outb (unsigned char value, unsigned short int port) You are right, and I suppose that is what I was thinking. Here is a line of code that I used 2 years ago:
outb(byte, port); That should answer that .. Thanks for being critical, Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]