diff -urN avr-libc-20020612/include/ina90.h avr-libc-20020612-tr/include/ina90.h --- avr-libc-20020612/include/ina90.h Fri May 31 12:33:37 2002 +++ avr-libc-20020612-tr/include/ina90.h Thu Jun 20 13:47:04 2002 @@ -119,8 +119,8 @@ /* _EEGET, _EEPUT */ #include -#define input(port) inp(port) -#define output(port, val) outp(val, port) +#define input(port) inb(port) +#define output(port, val) outb(port, val) #define __inp_blk__(port, addr, cnt, op) { \ unsigned char __i = (cnt); \ diff -urN avr-libc-20020612/include/interrupt.h avr-libc-20020612-tr/include/interrupt.h --- avr-libc-20020612/include/interrupt.h Sun May 26 08:28:46 2002 +++ avr-libc-20020612-tr/include/interrupt.h Thu Jun 20 13:45:32 2002 @@ -41,10 +41,10 @@ extern inline void enable_external_int (unsigned char ints) { #ifdef EIMSK - outp (ints, EIMSK); + outb (EIMSK, ints); #else #ifdef GIMSK - outp (ints, GIMSK); + outb (GIMSK, ints); #endif #endif } @@ -52,7 +52,7 @@ extern inline void timer_enable_int (unsigned char ints) { #ifdef TIMSK - outp (ints, TIMSK); + outb (TIMSK, ints); #endif } diff -urN avr-libc-20020612/include/timer.h avr-libc-20020612-tr/include/timer.h --- avr-libc-20020612/include/timer.h Sun May 26 08:28:46 2002 +++ avr-libc-20020612-tr/include/timer.h Thu Jun 20 13:12:41 2002 @@ -48,17 +48,17 @@ static inline void timer0_source (unsigned int src) { - outb (src, TCCR0); + outb (TCCR0, src); } static inline void timer0_stop (void) { - outb (0, TCNT0); + outb (TCNT0, 0); } static inline void timer0_start (void) { - outb (0x1, TCNT0); + outb (TCNT0, 0x1); } #ifdef __cplusplus