NetBSD/sys/arch/mips/alchemy/dev/aucomvar.h
simonb 223e50d28e Add a slightly modified dev/ic/com.c that supports the Alchemy
Semiconductor Au1x00 series on-chip UARTs.  Will be merged with
the original com.c driver once a few issues are tidied up.  Main
differences from a standard 16550 UART are:
 - separate rxdata and txdata registers
 - single 16-bit register for the clock divisor
 - "enable uart" register
2002-07-29 15:42:41 +00:00

30 lines
826 B
C

/* $NetBSD: aucomvar.h,v 1.1 2002/07/29 15:42:42 simonb Exp $ */
/* copyright */
/* Renamed externally visible functions */
#define com_attach_subr aucom_attach_subr
#define comintr aucomintr
#define comcnattach aucomcnattach
#define com_is_console aucom_is_console
#define com_kgdb_attach aucom_kgdb_attach
#define comprobe1 xxx_aucomprobe1 /* unused */
#define com_detach xxx_aucom_detach /* unused */
#define com_activate xxx_aucom_activate /* unused */
/* Renamed externally visible variables */
#define comcons aucomcons
#define com_cd aucom_cd
#define com_rbuf_size aucom_rbuf_size
#define com_rbuf_hiwat aucom_rbuf_hiwat
#define com_rbuf_lowat aucom_rbuf_lowat
#define com_debug aucom_debug
#include <dev/ic/comvar.h>
#undef COM_MPLOCK /* just in case... */
#undef COM_DEBUG
#undef COM_HAYESP
#undef COM16650