tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Closing a serial device takes one second



On Thu, 6 Feb 2014 19:50:04 +0100
Marc Balmer <marc%msys.ch@localhost> wrote:
> If I find the spot, I will probably remove it.

It is line 784 in dev/ic/com.c. It depends on the HUPCL
flag unset which is done around line 1344, depending
on SOFTCAR.
The comment in com_shutdown() makes some sense, but
it could be done more elegantly, eg set a timer and
do the delay on next open if it is done immediately.

best regards
Matthias


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index