LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* bloc_til_ready in tty driver
@ 2007-02-16 12:21 Mockern
  2007-02-16 12:47 ` Jiri Slaby
  0 siblings, 1 reply; 5+ messages in thread
From: Mockern @ 2007-02-16 12:21 UTC (permalink / raw)
  To: linux-kernel


What for is "bloc_til_ready" function in tty drivers?

Thank you

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bloc_til_ready in tty driver
  2007-02-16 12:21 bloc_til_ready in tty driver Mockern
@ 2007-02-16 12:47 ` Jiri Slaby
  2007-02-16 13:47   ` Mockern
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Slaby @ 2007-02-16 12:47 UTC (permalink / raw)
  To: Mockern; +Cc: linux-kernel

Mockern napsal(a):
> What for is "bloc_til_ready" function in tty drivers?

Most drivers waits for hardware to detect carrier and for closed callout.

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bloc_til_ready in tty driver
  2007-02-16 12:47 ` Jiri Slaby
@ 2007-02-16 13:47   ` Mockern
  2007-02-16 14:28     ` Jiri Slaby
  0 siblings, 1 reply; 5+ messages in thread
From: Mockern @ 2007-02-16 13:47 UTC (permalink / raw)
  To: jirislaby; +Cc: linux-kernel

Thanx for your respond,

I did not implement this function in my tty driver.

Does it help to work my driver with cat Linux operation?
(e.g. cat < ttyS10)


>Mockern napsal(a):
>> What for is "bloc_til_ready" function in tty drivers?
>
>Most drivers waits for hardware to detect carrier and for closed callout.
>
>regards,

-- 
Сегодня удачный день, чтобы завести почту на Яндексе http://mail.yandex.ru

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bloc_til_ready in tty driver
  2007-02-16 13:47   ` Mockern
@ 2007-02-16 14:28     ` Jiri Slaby
  2007-02-16 15:29       ` Mockern
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Slaby @ 2007-02-16 14:28 UTC (permalink / raw)
  To: Mockern; +Cc: linux-kernel

Mockern napsal(a):
> Thanx for your respond,
> 
> I did not implement this function in my tty driver.
> 
> Does it help to work my driver with cat Linux operation?
> (e.g. cat < ttyS10)

Help in which way? If you haven't implemented it, it'll behave like there was 
O_NONBLOCK passed to open() call or TIOCSSOFTCAR ioctl with nonzero param was 
invoked.

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bloc_til_ready in tty driver
  2007-02-16 14:28     ` Jiri Slaby
@ 2007-02-16 15:29       ` Mockern
  0 siblings, 0 replies; 5+ messages in thread
From: Mockern @ 2007-02-16 15:29 UTC (permalink / raw)
  To: jirislaby; +Cc: linux-kernel

Thank you very much

>Mockern napsal(a):
>> Thanx for your respond,
>> 
>> I did not implement this function in my tty driver.
>> 
>> Does it help to work my driver with cat Linux operation?
>> (e.g. cat < ttyS10)
>
>Help in which way? If you haven't implemented it, it'll behave like there was 
>O_NONBLOCK passed to open() call or TIOCSSOFTCAR ioctl with nonzero param was 
>invoked.
>
>regards,

-- 
Яндекс.Почта: объем почтового ящика не ограничен! http://mail.yandex.ru/monitoring/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-16 15:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-16 12:21 bloc_til_ready in tty driver Mockern
2007-02-16 12:47 ` Jiri Slaby
2007-02-16 13:47   ` Mockern
2007-02-16 14:28     ` Jiri Slaby
2007-02-16 15:29       ` Mockern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).