diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-08-19 17:12:14 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-09-09 22:41:45 +0300 |
commit | fb8131545f386348403fba32dc22c79b4aa110af (patch) | |
tree | d9a37c6487727e764c1cb37a5a06115dbfd0b21c /tools/intel_reg_spec.c | |
parent | 88fed9fbca693834ae2e636adc7941cee57930d7 (diff) |
tools/intel_reg: Set register stride to 1 for VGA registers
VGA registers are generally 8 bits long, so set the stride to 1 byte.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/intel_reg_spec.c')
-rw-r--r-- | tools/intel_reg_spec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/intel_reg_spec.c b/tools/intel_reg_spec.c index 6b7e30c1..b49e0dcd 100644 --- a/tools/intel_reg_spec.c +++ b/tools/intel_reg_spec.c @@ -41,12 +41,12 @@ static const struct port_desc port_descs[] = { { .name = "portio-vga", .port = PORT_PORTIO_VGA, - .stride = 4, + .stride = 1, }, { .name = "mmio-vga", .port = PORT_MMIO_VGA, - .stride = 4, + .stride = 1, }, { .name = "bunit", |