kernel-fxtec-pro1x/drivers/pnp
Bjorn Helgaas db9eaeab3e PNP: check for conflicts with all resources, not just earlier ones
This patch removes a use of "idx" in pnp_check_port() and similar
functions, in preparation for replacing idx with a pointer to the
resource itself.

I split this out because it changes the behavior slightly: we used
to check for conflicts only with earlier resources, e.g., we checked
resource 2 against resources 0 and 1 but not against 3, 4, etc.  Now
we will check against all resources except 2.

Since resources are assigned in ascending order, the old behavior
was probably safe, but I don't like to depend on that ordering.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-By: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-04-29 03:22:25 -04:00
..
isapnp PNP: use dev_printk when possible 2008-04-29 03:22:23 -04:00
pnpacpi PNP: use dev_printk when possible 2008-04-29 03:22:23 -04:00
pnpbios PNP: use dev_printk when possible 2008-04-29 03:22:23 -04:00
base.h PNP: factor pnp_init_resource_table() and pnp_clean_resource_table() 2008-04-29 03:22:23 -04:00
card.c PNP: add pnp_alloc_card() 2008-04-29 03:22:17 -04:00
core.c PNP: add pnp_alloc_dev() 2008-04-29 03:22:16 -04: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: reduce redundancy in pnp_set_current_resources() 2008-04-29 03:22:25 -04: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: reduce redundancy in pnp_assign_port() and others 2008-04-29 03:22:24 -04:00
quirks.c PNP: remove pnp_mem_flags() as an lvalue 2008-04-29 03:22:23 -04:00
resource.c PNP: check for conflicts with all resources, not just earlier ones 2008-04-29 03:22:25 -04:00
support.c PNP: add debug when assigning PNP resources 2008-04-29 03:22:21 -04:00
system.c PNP: use dev_info() in system driver 2007-10-17 08:43:04 -07:00