Re: Q: outb, outw et al?

Ivan R. Judson (judson@mcs.anl.gov)
Sun, 23 Aug 1998 07:55:18 -0500 (CDT)


hpa,

Cool, thanks. This is what I've assumed, however I read somewhere about
how to make these calls not appear as undefined symbols. I've lost track
of where that is and can't seem to find it. Do you have another similarly
succinct example for this?

--Ivan

On 23 Aug 1998, H. Peter Anvin wrote:

> Followup to: <Pine.SGI.3.96.980822214842.8205L-100000@rhys.mcs.anl.gov>
> By author: "Ivan R. Judson" <judson@mcs.anl.gov>
> In newsgroup: linux.dev.kernel
> >
> > Ok,
> >
> > There was such fast complete response to my kerneld question, time for the
> > next:
> >
> > Where can I find detailed documentation on the outb, inb, outw, inw and
> > other icky functions I'll need to read and write data to the ISA board I
> > have?
> >
> > I've read asm/io.h, but it's fairly obfuscated, at least to me...
> >
>
> out[bwl][_p](data, port)
> data = in[bwl][_p](port)
>
> b = byte (8 bits), w = word (16 bits), l = longword (32 bits)
> _p means add a brief pause after doing the I/O.
>
> -hpa
>
>
> --
> PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
> See http://www.zytor.com/~hpa/ for web page and full PGP public key
> I am Bahá'í -- ask me about it or see http://www.bahai.org/
> "To love another person is to see the face of God." -- Les Misérables
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html