Hi,<br><br>I've been trying to find the main cause because I got the following error:<br><br>Couldn't map MMIO region: No such file or directory<br><br>It happens when I execute some of the tools of the package.<br>
I've realized that the mmio_bar was not correctly set (inside the intel_get_mmio() function). <br><br>This patch changes one of the repeated checks for GEN4 in the IS_9XX macro, to check for GEN5 instead.<br><br><br><br>
>From 62d5a29c9484e989a41f591a403bf9e6c5a8f81e Mon Sep 17 00:00:00 2001<br>From: Diego Celix <<a href="mailto:dcelix@gmail.com">dcelix@gmail.com</a>><br>Date: Mon, 14 Feb 2011 15:21:53 +0000<br>Subject: [PATCH] lib/intel_chipset: GEN5 fix<br>
<br>This fixes the correct identification of the GEN5 chipsets inside the<br>IS_9XX() #define. Fixes the following error:<br>Couldn't map MMIO region: No such file or directory<br>Provided on each call of the intel_get_mmio function.<br>
---<br> lib/intel_chipset.h | 2 +-<br> 1 files changed, 1 insertions(+), 1 deletions(-)<br><br>diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h<br>index 48c441d..754bdd3 100755<br>--- a/lib/intel_chipset.h<br>+++ b/lib/intel_chipset.h<br>
@@ -141,7 +141,7 @@<br> <br> #define IS_9XX(devid) (IS_GEN3(devid) || \<br> IS_GEN4(devid) || \<br>- IS_GEN4(devid) || \<br>+ IS_GEN5(devid) || \<br> IS_GEN6(devid))<br>
<br> #define IS_INTEL(devid) (IS_GEN2(devid) || \<br>-- <br>1.7.3.4<br><br><br><br>Regards,<br clear="all"><br>-- <br>Diego Celix<br><br>