lkml.org 
[lkml]   [2006]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectPCI layer: Need for enable/disable counting (was disable PCI device if it is enabled before probing)
    From
    Date
    On Llu, 2006-01-30 at 20:33 +0100, Markus Lidel wrote:
    > I've searched for a function enabled() or so, but didn't find anything.
    > Could you tell me the right way to do it normally?

    Right now there isn't one. I've hit this problem with the new libata
    layer stuff having successfully disabled my root pci bridge on unload at
    least once.

    Would be easy to add one but I suspect it should be rcounted so that
    enable/disable just stack naturally ?

    What do people want from such an interface and should it also start boot
    enabled devices at a count of 1 or just the bridges/video class
    devices ?

    Alan

    -
    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: 2006-01-31 00:02    [W:0.025 / U:0.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site