lkml.org 
[lkml]   [2005]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env
    On Wed, Feb 02, 2005 at 01:48:12AM +0100, Kay Sievers wrote:
    > On Tue, Feb 01, 2005 at 02:56:25PM -0800, Greg KH wrote:
    > > Hm, that class_simple interface is looking like the way we should move
    > > toward, as it's "simple" to use, instead of the more complex class code.
    > > I'll have to look at migrating more code to use it over time, or move
    > > that interface back into the class code itself...
    >
    > Nice idea! What about keeping a list of devices belonging to a
    > specific class in an own list in 'struct class' and maintaining that list
    > with class_device_add(), class_device_del()?

    What would that help out with?

    > A class driver may use that list to keep track of its own devices if
    > wanted and class_simple would not be needed anymore as everything
    > would be available in the core.

    I must be tired, but I don't see how class_simple could be dropped if
    that was done. Care to explain it with pseudo-code or something?

    thanks,

    greg k-h
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:10    [W:0.020 / U:2.408 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site