lkml.org 
[lkml]   [2000]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Irq context wrong for USB ACM serial driver calling PPP?
Date
Hello!

> Well, the USB ACM driver does just tty_flip_buffer_push() from an
> interrupt, which I think is normal even for other drivers? Well, if not,
> I can change it ...
>
> Hmm, it also calls a tty->ldisc.write_wakeup from an interrupt. Might
> this be the cause?

It is interesting. Why does it not overrun in this case?
Common serial card will surely overrun, when pushing data block
from its own irq.

Yes, this work should be done from bh. And if internal card buffer
is less than flip buffer, it must be done from bh.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.134 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site