NS16550
return (NS16550_getc((struct NS16550 *)dev));
NS16550_putc((struct NS16550 *)dev, '\r');
NS16550_putc((struct NS16550 *)dev, c);
return (NS16550_scankbd((struct NS16550 *)dev));
volatile struct NS16550 *
struct NS16550 *com_port;
com_port = (struct NS16550 *)(COMBASE + addr);
NS16550_putc(volatile struct NS16550 *com_port, int c)
NS16550_getc(volatile struct NS16550 *com_port)
NS16550_scankbd(volatile struct NS16550 *com_port)
NS16550_test(volatile struct NS16550 *com_port)
extern volatile struct NS16550 *NS16550_init(int, int);
extern void NS16550_putc(volatile struct NS16550 *, int);
extern int NS16550_getc(volatile struct NS16550 *);
extern int NS16550_scankbd(volatile struct NS16550 *);
extern int NS16550_test(volatile struct NS16550 *);
return (NS16550_getc((struct NS16550 *)dev));
NS16550_putc((struct NS16550 *)dev, '\r');
NS16550_putc((struct NS16550 *)dev, c);
return (NS16550_scankbd((struct NS16550 *)dev));
volatile struct NS16550 *
struct NS16550 *com_port;
com_port = (struct NS16550 *)(COMBASE + addr);
NS16550_putc(volatile struct NS16550 *com_port, int c)
NS16550_getc(volatile struct NS16550 *com_port)
NS16550_scankbd(volatile struct NS16550 *com_port)
NS16550_test(volatile struct NS16550 *com_port)
extern volatile struct NS16550 *NS16550_init(int, int);
extern void NS16550_putc(volatile struct NS16550 *, int);
extern int NS16550_getc(volatile struct NS16550 *);
extern int NS16550_scankbd(volatile struct NS16550 *);
extern int NS16550_test(volatile struct NS16550 *);
return (NS16550_getc((struct NS16550 *)dev));
NS16550_putc((struct NS16550 *)dev, '\r');
NS16550_putc((struct NS16550 *)dev, c);
return (NS16550_scankbd((struct NS16550 *)dev));
volatile struct NS16550 *
struct NS16550 *com_port;
com_port = (struct NS16550 *)(COMBASE + addr);
NS16550_putc(volatile struct NS16550 *com_port, int c)
NS16550_getc(volatile struct NS16550 *com_port)
NS16550_scankbd(volatile struct NS16550 *com_port)
NS16550_test(volatile struct NS16550 *com_port)
extern volatile struct NS16550 *NS16550_init(int, int);
extern void NS16550_putc(volatile struct NS16550 *, int);
extern int NS16550_getc(volatile struct NS16550 *);
extern int NS16550_scankbd(volatile struct NS16550 *);
extern int NS16550_test(volatile struct NS16550 *);