MPC860: quicc_smc_serial_driver change
Gary Thomas
gary@mlbassoc.com
Wed Jan 7 20:07:00 GMT 2004
On Wed, 2004-01-07 at 11:55, nprasad3@gmu.edu wrote:
> Hi,
>
> I am not sure if this is the correct format for patch submission. If not please let me know and I'll send it in the correct format.
>
> Issue: [BUF_SIZE : 0, *polling* mode]
> ------------------------------------------------------
> 1. putc starts filling in the buffer (after the buffer is full, txbd->length is beyond smc_chan->txsize) and flush routine keeps getting called.
> 2. txbd->length gets reset only in the interrupt handler (*which was never set because outbound buffer length is 0*) and hence this never takes place.
>
> The following change allows use of 1 buffer, buffer is marked to be sent and then we just wait and reset the length.
>
Why do you want to add polling mode to an interrupt-driven driver?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
More information about the Ecos-patches
mailing list