Re: [PATCH 03/10] Intel PTI implementaiton of MIPI 1149.7.

From: Thomas Gleixner
Date: Mon Feb 28 2011 - 13:37:17 EST


On Mon, 28 Feb 2011, J Freyensee wrote:
> On Mon, 2011-02-28 at 10:28 +0100, Arnd Bergmann wrote:
> > > +static struct miscdevice pti_char_driver = {
> > > + .minor = MISC_DYNAMIC_MINOR,
> > > + .name = CHARNAME,
> > > + .fops = &pti_char_driver_ops
> > > +};
> > > +
> >
> > It's really strange to have both a tty and a character device that have similar
> > operations. Why can't you have the pti_char_driver functionality in the tty driver?
> >
>
> Because that is not what the customer wanted and this is why the driver
> is located in misc/ ;-).

Brilliant argument. Next time you tell us that the customer wanted a
root hole in his driver and that's why you put it there.

What's the fcking technical reason for having a char and a tty device ?

Thanks,

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