kernel_optimize_test/drivers/pnp
Bjorn Helgaas f61ed7e32d PNP: dont sort by type in /sys/.../resources
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>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
2008-07-16 23:27:06 +02:00
..
isapnp PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
pnpacpi PNPACPI: keep disabled resources when parsing current config 2008-07-16 23:27:06 +02:00
pnpbios PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
base.h PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
card.c PNP: add pnp_alloc_card() 2008-04-29 03:22:17 -04:00
core.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
driver.c PNP: change pnp_add_id() to allocate its own pnp_id structures 2008-04-29 03:22:16 -04:00
interface.c PNP: dont sort by type in /sys/.../resources 2008-07-16 23:27:06 +02:00
Kconfig Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
Makefile PNP: use dev_info(), dev_err(), etc in core 2007-10-17 08:43:04 -07:00
manager.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
quirks.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
resource.c PNP: remove ratelimit on add resource failures 2008-07-16 23:27:06 +02:00
support.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
system.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00