浏览代码

ACPI: update comments in motherboard.c

Signed-off-by: Len Brown <len.brown@intel.com>
Len Brown 18 年之前
父节点
当前提交
f4d2e2d87e
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      drivers/acpi/motherboard.c

+ 6 - 0
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
  * the io ports if they really know they can use it, while
  * still preventing hotplug PCI devices from using it.
  * 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)
 static acpi_status acpi_reserve_io_ranges(struct acpi_resource *res, void *data)
 {
 {
 	struct resource *requested_res = NULL;
 	struct resource *requested_res = NULL;