projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include hw.h explicitly.
[bertos.git]
/
drv
/
ser.h
diff --git
a/drv/ser.h
b/drv/ser.h
index 918e7a76c825e4062705759c990e6a2ce067e7da..a41084a75e1be9ae937eae7e81c95a7d94fe943c 100755
(executable)
--- a/
drv/ser.h
+++ b/
drv/ser.h
@@
-14,6
+14,12
@@
/*#*
*#* $Log$
/*#*
*#* $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
*#*
*#* Revision 1.11 2004/08/25 14:12:08 rasky
*#* Aggiornato il comment block dei log RCS
*#*
@@
-49,7
+55,6
@@
#define DRV_SER_H
#include <mware/fifobuf.h>
#define DRV_SER_H
#include <mware/fifobuf.h>
-#include <drv/kdebug.h>
#include <compiler.h>
#include <config.h>
#include <compiler.h>
#include <config.h>
@@
-136,10
+141,12
@@
struct Serial
/*! Physical port number */
unsigned int unit;
/*! Physical port number */
unsigned int unit;
- DB(bool is_open;)
+#ifdef _DEBUG
+ bool is_open;
+#endif
/*!
/*!
- * \name
FIFO transmit and receive buffer
s.
+ * \name
Transmit and receive FIFO
s.
*
* Declared volatile because handled asinchronously by interrupts.
*
*
* Declared volatile because handled asinchronously by interrupts.
*
@@
-147,8
+154,6
@@
struct Serial
*/
FIFOBuffer txfifo;
FIFOBuffer rxfifo;
*/
FIFOBuffer txfifo;
FIFOBuffer rxfifo;
- unsigned char txbuffer[CONFIG_SER_TXBUFSIZE];
- unsigned char rxbuffer[CONFIG_SER_RXBUFSIZE];
/* \} */
#if CONFIG_SER_RXTIMEOUT != -1
/* \} */
#if CONFIG_SER_RXTIMEOUT != -1