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.39-rc1~416^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdb9755849fbaf2bb9c0a009ba5baa817a0f152d;p=pandora-kernel.git PCI: add more checking to ICH region quirks 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 --- Reading git-diff-tree failed