/*#*
*#* $Log$
+ *#* Revision 1.13 2004/09/14 21:04:57 bernie
+ *#* Don't vanely call kdebug.h.
+ *#*
+ *#* Revision 1.12 2004/09/06 21:40:50 bernie
+ *#* Move buffer handling in chip-specific driver.
+ *#*
*#* Revision 1.11 2004/08/25 14:12:08 rasky
*#* Aggiornato il comment block dei log RCS
*#*
#define DRV_SER_H
#include <mware/fifobuf.h>
-#include <drv/kdebug.h>
#include <compiler.h>
#include <config.h>
/*! Physical port number */
unsigned int unit;
- DB(bool is_open;)
+#ifdef _DEBUG
+ bool is_open;
+#endif
/*!
- * \name FIFO transmit and receive buffers.
+ * \name Transmit and receive FIFOs.
*
* Declared volatile because handled asinchronously by interrupts.
*
*/
FIFOBuffer txfifo;
FIFOBuffer rxfifo;
- unsigned char txbuffer[CONFIG_SER_TXBUFSIZE];
- unsigned char rxbuffer[CONFIG_SER_RXBUFSIZE];
/* \} */
#if CONFIG_SER_RXTIMEOUT != -1