Re: [PATCH v2] LDT - Linux Driver Template

2012-11-17 Thread Constantine Shulyupin
On Fri, Nov 16, 2012 at 12:40 AM, Greg KH wrote: > On Thu, Nov 15, 2012 at 09:22:17PM +0200, Constantine Shulyupin wrote: >> From: Constantine Shulyupin >> >> LDT is useful for Linux driver development beginners, >> hackers and as starting point for a new drivers. > > Really? I strongly doubt it

Re: [PATCH v2] LDT - Linux Driver Template

2012-11-16 Thread Greg KH
On Fri, Nov 16, 2012 at 10:46:18AM +0100, Bjørn Mork wrote: > Greg KH writes: > > > Normally you just start with a > > driver for a device like the one you need to write and modify it from > > there. > > Yes. > > Even if the template driver is fixed up to be the most beautiful driver > ever ma

Re: [PATCH v2] LDT - Linux Driver Template

2012-11-16 Thread Constantine Shulyupin
On Fri, Nov 16, 2012 at 11:46 AM, Bjørn Mork wrote: > Greg KH writes: > >> Normally you just start with a >> driver for a device like the one you need to write and modify it from >> there. > > Yes. > > Even if the template driver is fixed up to be the most beautiful driver > ever made, it will s

Re: [PATCH v2] LDT - Linux Driver Template

2012-11-16 Thread Bjørn Mork
Greg KH writes: > Normally you just start with a > driver for a device like the one you need to write and modify it from > there. Yes. Even if the template driver is fixed up to be the most beautiful driver ever made, it will still always be made for non-existing hardware. This causes two maj

Re: [PATCH v2] LDT - Linux Driver Template

2012-11-15 Thread Greg KH
On Thu, Nov 15, 2012 at 09:22:17PM +0200, Constantine Shulyupin wrote: > From: Constantine Shulyupin > > LDT is useful for Linux driver development beginners, > hackers and as starting point for a new drivers. Really? I strongly doubt it. The odds that a new driver needs to use a misc device i