Messages in this thread | | | Date | Sun, 28 Nov 2004 19:23:36 +0100 | From | Tomas Carnecky <> | Subject | Re: Problem with ioctl command TCGETS |
| |
Al Viro wrote: > On Sun, Nov 28, 2004 at 03:30:19PM +0100, Tomas Carnecky wrote: > >>You mean.. like nvidia? >>/dev/nvidiactl >>/dev/nvidia0 >>/dev/nvidia1 >>/dev/nvidia2 >>and do read/write on /dev/nvidiactl (instead on ioctl)? > > > Really depends on situation - in some cases that's the obvious clean > variant, in some you might want something more specific.
The 'good' thing on ioctl is that _every_ device supports that. It doesn't matter which device you open, each one supports ioctl. Now if each driver cooks up it's own replacement.. and everyone knows that developers don't really like to document their code.. :/
Was there ever a thread on lkml about a ioctl replacement? I'd really like to read about proposals, so far everyone talks only about replacing it... but no one wants to say how _exactly_.
tom
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |