Author: blueswirl Date: 2007-07-09 18:25:32 +0200 (Mon, 09 Jul 2007) New Revision: 161
Modified: openbios-devel/include/sparc64/io.h Log: Fix Sparc64 insw and outsw
Modified: openbios-devel/include/sparc64/io.h =================================================================== --- openbios-devel/include/sparc64/io.h 2007-07-08 19:56:05 UTC (rev 160) +++ openbios-devel/include/sparc64/io.h 2007-07-09 16:25:32 UTC (rev 161) @@ -43,8 +43,8 @@ * are arrays of bytes, and byte-swapping is not appropriate in * that case. - paulus */ -#define insw(port, buf, ns) _insw_ns((uint16_t *)((port)+_IO_BASE), (buf), (ns)) -#define outsw(port, buf, ns) _outsw_ns((uint16_t *)((port)+_IO_BASE), (buf), (ns)) +#define insw(port, buf, ns) _insw((uint16_t *)((port)+_IO_BASE), (buf), (ns)) +#define outsw(port, buf, ns) _outsw((uint16_t *)((port)+_IO_BASE), (buf), (ns))
#define inb(port) in_8((uint8_t *)((port)+_IO_BASE)) #define outb(val, port) out_8((uint8_t *)((port)+_IO_BASE), (val))