lkml.org 
[lkml]   [2008]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 4/4] PNP: dont sort by type in /sys/.../resources
    On 16-05-08 00:07, Bjorn Helgaas wrote:

    > Rather than stepping through all IO resources, then stepping through
    > all MMIO resources, etc., we can just iterate over the resource list
    > once directly.
    >
    > This can change the order in /sys, e.g.,
    >
    > # cat /sys/devices/pnp0/00:07/resources # OLD
    > state = active
    > io 0x3f8-0x3ff
    > irq 4
    >
    > # cat /sys/devices/pnp0/00:07/resources # NEW
    > state = active
    > irq 4
    > io 0x3f8-0x3ff
    >
    > The old code artificially sorted resources by type; the new code
    > just lists them in the order we read them from the ISAPNP hardware
    > or the BIOS.
    >
    > Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>

    Acked-by: Rene Herman <rene.herman@gmail.com>

    Rene.



    \
     
     \ /
      Last update: 2008-05-20 01:25    [W:0.022 / U:0.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site