Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: Q: outb, outw et al? | Date | 23 Aug 1998 04:35:11 GMT |
| |
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
| |