some booting help
David Edelsohn
dje at watson.ibm.com
Sat May 13 05:05:06 EST 2000
>>>>> David Weis writes:
David> I was looking at the BUSIO_ATT and BUSIO_DET functions in
David> /usr/include/sys/adspace.h for clues. I had downloaded some AIX driver
David> source code examples once but can't seem to find them any more.
See also /usr/include/sys/ioacc.h. AIX device drivers accessing
those types of devices perform a lot of
iocc_val = IOCC_ATT(bus_id, 0);
val = BUSIO_GETC(iocc_val+XXX);
...
BUSIO_PUTC(iocc_val+XXX);
IOCC_DET(iocc_val);
Plus programmed I/O, e.g., pio_assist().
David
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list