From: Jiri Slaby Date: Mon, 28 Feb 2011 09:45:09 +0000 (+0100) Subject: PCI: add more checking to ICH region quirks X-Git-Tag: v2.6.37.5~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d5a68d981b63a5c0da644d0d3f778a61c10ec63;p=pandora-kernel.git PCI: add more checking to ICH region quirks commit cdb9755849fbaf2bb9c0a009ba5baa817a0f152d upstream. Per ICH4 and ICH6 specs, ACPI and GPIO regions are valid iff ACPI_EN and GPIO_EN bits are set to 1. Add checks for these bits into the quirks prior to the region creation. While at it, name the constants by macros. Signed-off-by: Jiri Slaby Cc: Bjorn Helgaas Cc: "David S. Miller" Cc: Thomas Renninger Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed