Annotation of prex-old/dev/ic/comvar.h, Revision 1.1
1.1 ! nbrk 1: /*
! 2: * $Id$
! 3: */
! 4: #ifndef _DEV_IC_COMVAR_H_
! 5: #define _DEV_IC_COMVAR_H_
! 6:
! 7: struct uart_attach_args {
! 8: void *ua_cookie;
! 9:
! 10: int (*ua_init)(void *cookie, int speed, int mode);
! 11: void (*ua_on)(void *cookie);
! 12: void (*ua_off)(void *cookie);
! 13: void (*ua_putc)(void *cookie, int blocking, int c);
! 14: int (*ua_getc)(void *cookie, int blocking);
! 15:
! 16: /* TODO: get/set speed/mode */
! 17: };
! 18:
! 19:
! 20: struct com_softc {
! 21: struct uart_attach_args *sc_uaap;
! 22:
! 23: int sc_mode;
! 24: int sc_speed;
! 25: };
! 26:
! 27: #endif /* !_DEV_IC_COMVAR_H_ */
CVSweb