[PATCH] staging/comedi: new Kconfig and Makefiles, drivers grouped by bustype.

Martyn Welch martyn.welch at ge.com
Mon May 24 10:05:06 UTC 2010


Greg KH wrote:
> On Sat, May 08, 2010 at 12:21:45PM +0400, Alexander Kurz wrote:
>   
>> This is a new Kconfig and Makefikes for staging/comedi.
>> The drivers are sorted now alphabetically in sub-menus
>> depending on the bustype.
>> I did some basiy dependancy tests, but there still may
>> be a lot that I missed.
>>
>> >From c53596606230a4a8ee7dd76b48cf6b10a059e8f7 Mon Sep 17 00:00:00 2001
>> From: Alexander Kurz <linux at kbdbabel.org>
>> Date: Fri, 7 May 2010 22:46:17 +0200
>> Subject: [PATCH] staging/comedi: new Kconfig and Makefiles, drivers grouped by bustype.
>>  PC/104-drivers went into ISA,
>>  PC/104+ went into PCI,
>>  Drivers without a bustype went into "misc".
>>  In doubt drivers supporting both ISA/PCI went into PCI.
>>  Drivers without any detailed hardware info went into ISA, e.g. fl512.c
>>  Some NI drivers are used by other NI drivers from different bustypes
>>  are grouped seperately in NI_COMMON.
>>
>> Signed-off-by: Alexander Kurz <linux at kbdbabel.org>
>> ---
>>  drivers/staging/comedi/Kconfig             | 1274 +++++++++++++++++++++++++++-
>>  drivers/staging/comedi/drivers/Makefile    |  245 +++---
>>  drivers/staging/comedi/kcomedilib/Makefile |    2 +-
>>     
>
> Wow.  Is this something that we really want?  That's a lot of new
> Kconfig options, and while it seems like it makes sense, I would like to
> get the comedi developers opinion here.
>   

Having recently had cause to use the comedi_parport driver on a PowerPC
board, I can say I'm very much in favour of this patch or one like it. I
had to modify the makefile so that it didn't require all the PCI drivers
to be built (some of which were failing - I really didn't have time to
fix them, sorry) to use a driver that doesn't necessarily have any PCI
dependency.

Even if there are a few dependencies missing, it seems like a step forward.

Martyn

> Frank?  Ian?
>
> thanks,
>
> greg k-h
> _______________________________________________
> devel mailing list
> devel at linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
>   


-- 
Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E martyn.welch at ge.com                        |   M2 3AB  VAT:GB 927559189




More information about the devel mailing list