summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLen Brown2006-09-14 23:16:22 +0200
committerLen Brown2006-10-14 07:56:27 +0200
commitf4d2e2d87eac0338884b2c26f6bafed115dbac5e (patch)
tree5970c00810dfcedc63b47f152893d59abdcf1b87 /drivers
parentACPI: acpi_pci_link_set() can allocate with either GFP_ATOMIC or GFP_KERNEL (diff)
downloadkernel-qcow2-linux-f4d2e2d87eac0338884b2c26f6bafed115dbac5e.tar.gz
kernel-qcow2-linux-f4d2e2d87eac0338884b2c26f6bafed115dbac5e.tar.xz
kernel-qcow2-linux-f4d2e2d87eac0338884b2c26f6bafed115dbac5e.zip
ACPI: update comments in motherboard.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/motherboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/motherboard.c b/drivers/acpi/motherboard.c
index ec6b7f9ede34..2e17ec75af03 100644
--- a/drivers/acpi/motherboard.c
+++ b/drivers/acpi/motherboard.c
@@ -48,6 +48,12 @@ ACPI_MODULE_NAME("acpi_motherboard")
* the io ports if they really know they can use it, while
* still preventing hotplug PCI devices from using it.
*/
+
+/*
+ * When CONFIG_PNP is enabled, pnp/system.c binds to PNP0C01
+ * and PNP0C02, redundant with acpi_reserve_io_ranges().
+ * But acpi_reserve_io_ranges() is necessary for !CONFIG_PNP.
+ */
static acpi_status acpi_reserve_io_ranges(struct acpi_resource *res, void *data)
{
struct resource *requested_res = NULL;