[Intel-gfx] [PATCH i-g-t 3/9] toos/intel_iosf_sb_*: Fix DPIO IOSF SB port number

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Mon Mar 23 06:14:53 PDT 2015


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

The correct port is 0x12, not 0x13 which is actually GPIO_NC.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tools/intel_iosf_sb_read.c  | 2 +-
 tools/intel_iosf_sb_write.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/intel_iosf_sb_read.c b/tools/intel_iosf_sb_read.c
index 8f35e50..03bf007 100644
--- a/tools/intel_iosf_sb_read.c
+++ b/tools/intel_iosf_sb_read.c
@@ -55,7 +55,7 @@ int main(int argc, char *argv[])
 	else if (!strcasecmp(argv[1], "nc"))
 		port = 0x11;
 	else if (!strcasecmp(argv[1], "dpio"))
-		port = 0x13;
+		port = 0x12;
 	else if (!strcasecmp(argv[1], "gpio_nc"))
 		port = 0x13;
 	else if (!strcasecmp(argv[1], "cck"))
diff --git a/tools/intel_iosf_sb_write.c b/tools/intel_iosf_sb_write.c
index 8d06380..13c738f 100644
--- a/tools/intel_iosf_sb_write.c
+++ b/tools/intel_iosf_sb_write.c
@@ -54,7 +54,7 @@ int main(int argc, char** argv)
 	else if (!strcasecmp(argv[1], "nc"))
 		port = 0x11;
 	else if (!strcasecmp(argv[1], "dpio"))
-		port = 0x13;
+		port = 0x12;
 	else if (!strcasecmp(argv[1], "gpio_nc"))
 		port = 0x13;
 	else if (!strcasecmp(argv[1], "cck"))
-- 
2.0.5



More information about the Intel-gfx mailing list