[lkml]   [2005]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Don't use a klist for drivers' set-of-devices
    On 8/15/05, Alan Stern <> wrote:

    > On the face of it, neither is particularly more attractive than the other.
    > However, reading through the various places that call these routines (for
    > example, drivers/input/serio/serio.c or drivers/pnp/card.c) revealed a
    > pattern. In most cases, the callers of device_bind_driver _really_ want
    > something that functions more like driver_probe_device but without the
    > matching step. The callers are invoking the probe methods by hand rather
    > than relying on the driver core to do so. There's maybe only one place
    > where a caller actually does want the device bound to the driver without
    > doing a probe.


    I am sorry I don't have time to properly review the patch at
    themoment, just a couple of comments about serio - I would not look at
    serio for examples of typical use as it was trying very hard to work
    around the original driver model limitation that prevented drivers to
    register childern on the same bus from their probe function. I think
    now that that limitation is lifted serio implemenation can be

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-08-17 00:36    [W:0.020 / U:89.240 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site