From 04f702b8cae122213b1e6f40341274eff4720fa2 Mon Sep 17 00:00:00 2001 From: mokopatches Date: Wed, 19 Nov 2008 17:03:19 +0000 Subject: pnp_fixes.patch --- drivers/pnp/Kconfig | 2 +- drivers/pnp/resource.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'drivers/pnp') diff --git a/drivers/pnp/Kconfig b/drivers/pnp/Kconfig index 2a37b3fedb8..a79621dc5ed 100644 --- a/drivers/pnp/Kconfig +++ b/drivers/pnp/Kconfig @@ -5,7 +5,7 @@ menuconfig PNP bool "Plug and Play support" depends on HAS_IOMEM - depends on ISA || ACPI + depends on ISA || ACPI || SDIO ---help--- Plug and Play (PnP) is a standard for peripherals which allows those peripherals to be configured by software, e.g. assign IRQ's or other diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c index f604061d2bb..e561b1c2001 100644 --- a/drivers/pnp/resource.c +++ b/drivers/pnp/resource.c @@ -436,6 +436,7 @@ int pnp_check_dma(struct pnp_dev *dev, struct resource *res) } } +#if 0 /* check if the resource is already in use, skip if the * device is active because it itself may be in use */ if (!dev->active) { @@ -443,6 +444,7 @@ int pnp_check_dma(struct pnp_dev *dev, struct resource *res) return 0; free_dma(*dma); } +#endif /* check for conflicts with other pnp devices */ pnp_for_each_dev(tdev) { -- cgit v1.2.3