Messages in this thread | | | Date | Mon, 28 Feb 2011 19:36:59 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [PATCH 03/10] Intel PTI implementaiton of MIPI 1149.7. |
| |
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
| |