Greg KH <[email protected]> writes: > On Thu, Jul 13, 2006 at 10:20:19PM +0400, Sergei Organov wrote: [...] >> Besides, if the throttle() is that important and failure to handle it is >> a big mistake, why is it optional then? I mean why struct tty_operations >> with throttle field set to NULL is accepted in the first place? The same >> question is applicable to the struct usb_serial_driver. > > Yes, I didn't realize it was required. That was my point, -- people don't realize it is dangerous not to handle throttle, and in fact it was not that dangerous before new tty buffering has been implemented. I do handle throttle in my driver, but it has been implemented as a part of work-around for the deficiencies of the old tty buffering. I seriously doubt I'd realize it's a must to honour throttle should I start to write the driver today. -- Sergei. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Sergei Organov <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Alan Cox <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Sergei Organov <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Alan Cox <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Sergei Organov <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Alan Cox <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Sergei Organov <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Alan Cox <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Sergei Organov <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- From: Greg KH <[email protected]>
- Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- Prev by Date: Re: 2.6.18-rc1-git4 and 2.6.18-rc1-mm1 OOM's on boot
- Next by Date: Re: [PATCH] s390 hypfs fixes for 2.6.18-rc1-mm1
- Previous by thread: Re: [PATCH] Airprime driver improvements to allow full speed EvDO transfers
- Next by thread: [PATCH] Support DOS line endings
- Index(es):