[En-Nut-Discussion] uartavr and PPP
Mike Cornelius
mikec at calldirect.com.au
Mon Sep 23 04:58:27 CEST 2002
Hi Harald,
What are your thoughts on the following:-
1/
TxComplete(...) in uartavr.c calls NutEventPostAsync(&dcb->dcb_tx_rdy) when
all data has been sent.
If more than one thread is waiting for this event only one thread gets woken
up.
In my app I have a virtual device drive that does have multiple threads
waiting for this via NutIfStreamFlush().
Changing NutEventPostAsync(&dcb->dcb_tx_rdy) to
NutEventBroadcastAsync(&dcb->dcb_tx_rdy) makes my application behave as
expected.
2/
A couple of people seem interested in my PPP driver, this requires a few
mods to Nut/NET (in particular ifconfig.c and ipout.c) to add support for
IFT_PPP.
As I've mentioned previously the driver suits my app perfectly but is not a
complete implementation, do you think it is worth putting this into the
distribution as an imature driver or would you preffer that I forward it
onto those people who want it directly ?
One problem I have with putting it into the distribution is that I don't
have time to add features or offer support.
However the un-official mods to ifconfig.c and ipout.c would make it
dificult for people using the driver to stay current with the distribution.
I don't mind munging my own source tree to suit my needs but I don't really
want to encourage others to do it.
Regards,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Cornelius Internet: mikec at calldirect.com.au
Call Direct Cellular Solutions Phone: +61 2 99-65-75-85
Level 1 8-22 West St North Sydney FAX: +61 2 99-65-75-90
NSW 2060 Australia URL: http://www.calldirect.com.au
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the En-Nut-Discussion
mailing list