commit | cdb9755849fbaf2bb9c0a009ba5baa817a0f152d | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Feb 28 10:45:09 2011 +0100 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Fri Mar 04 10:41:32 2011 -0800 |
tree | 1bf3e01326a198e0f50e4a8de41866fb416a6987 | |
parent | 457d9d088b026e26dbab98cad9d299c1faf4c343 [diff] |
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 <jslaby@suse.cz> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Thomas Renninger <trenn@suse.de> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>