Messages in this thread | | | Date | Tue, 20 May 2008 01:22:56 +0200 | From | Rene Herman <> | Subject | Re: [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.
| |