/*#*
*#* $Log$
+ *#* Revision 1.18 2004/09/20 03:31:15 bernie
+ *#* Sanitize for C++.
+ *#*
+ *#* Revision 1.17 2004/09/14 21:06:07 bernie
+ *#* Use debug.h instead of kdebug.h; Spelling fixes.
+ *#*
*#* Revision 1.16 2004/09/06 21:40:50 bernie
*#* Move buffer handling in chip-specific driver.
*#*
*#*/
#include <mware/formatwr.h>
-#include <drv/kdebug.h>
+#include <debug.h>
#include "ser.h"
#include "ser_p.h"
#include "hw.h"
*/
int ser_write(struct Serial *port, const void *_buf, size_t len)
{
- const char *buf = _buf;
+ const char *buf = (const char *)_buf;
while (len--)
{
#if CONFIG_SER_RXTIMEOUT != -1
/*!
- * Discard input to resynchronize with remote end
+ * Discard input to resynchronize with remote end.
*
* Discard incoming data until the port stops receiving
* characters for at least \a delay milliseconds.