1.1 --- a/src/sh4/scif.c Sun Dec 25 05:57:00 2005 +0000
1.2 +++ b/src/sh4/scif.c Mon Dec 26 03:10:23 2005 +0000
1.5 - * $Id: scif.c,v 1.5 2005-12-25 05:57:00 nkeynes Exp $
1.6 + * $Id: scif.c,v 1.6 2005-12-26 03:10:23 nkeynes Exp $
1.7 * SCIF (Serial Communication Interface with FIFO) implementation - part of the
1.8 * SH4 standard on-chip peripheral set. The SCIF is hooked up to the DCs
1.9 * external serial port
1.12 if( serial_device != NULL && serial_device->set_line_speed != NULL )
1.13 serial_device->set_line_speed( baudrate );
1.14 - INFO( "SCIF baud rate set to %d", baudrate );
1.16 SCIF_tick_period = sh4_peripheral_period * (32 * mult * (bbr+1));
1.20 void SCIF_reset( void )
1.22 - SCIF_tick_remainder = 0;
1.23 + SCIF_recvq_clear();
1.24 + SCIF_sendq_clear();
1.25 + SCIF_update_line_speed();
1.28 void SCIF_run_slice( uint32_t nanosecs )