summaryrefslogtreecommitdiffstats
path: root/src/util/Option/ROM.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/Option/ROM.pm')
-rw-r--r--src/util/Option/ROM.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/Option/ROM.pm b/src/util/Option/ROM.pm
index 232cf16b..48d92dda 100644
--- a/src/util/Option/ROM.pm
+++ b/src/util/Option/ROM.pm
@@ -508,9 +508,9 @@ sub new {
device_list => { offset => 0x08, length => 0x02, pack => "S" },
struct_length => { offset => 0x0a, length => 0x02, pack => "S" },
struct_revision =>{ offset => 0x0c, length => 0x01, pack => "C" },
- base_class => { offset => 0x0d, length => 0x01, pack => "C" },
+ prog_intf => { offset => 0x0d, length => 0x01, pack => "C" },
sub_class => { offset => 0x0e, length => 0x01, pack => "C" },
- prog_intf => { offset => 0x0f, length => 0x01, pack => "C" },
+ base_class => { offset => 0x0f, length => 0x01, pack => "C" },
image_length => { offset => 0x10, length => 0x02, pack => "S" },
revision => { offset => 0x12, length => 0x02, pack => "S" },
code_type => { offset => 0x14, length => 0x01, pack => "C" },