33d70de438
and always call the simple_* locking functions. the locking functions are compiled out if they are not needed anyway, so a separate option for this doesn't gain anything. this also fixes the serial console on my alpha ES40 (which doesn't make much sense since the com driver should still be under the big lock on alpha, but whatever).
29 lines
784 B
C
29 lines
784 B
C
/* $NetBSD: aucomvar.h,v 1.4 2005/12/27 00:46:38 chs 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_DEBUG
|
|
#undef COM_HAYESP
|
|
#undef COM_16650
|