summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2014-01-30 15:32:02 -0600
committerMike Fiore <mfiore@multitech.com>2014-01-30 15:32:02 -0600
commit8e600fd2726f303694fdb87f2eb08ddc78f5c3ee (patch)
tree21de2b7083eaf2285caf9143c604d62b3b115d19 /io-module
parent37fa7696793110153cb75182554d0fd2313ada00 (diff)
downloadmts-io-8e600fd2726f303694fdb87f2eb08ddc78f5c3ee.tar.gz
mts-io-8e600fd2726f303694fdb87f2eb08ddc78f5c3ee.tar.bz2
mts-io-8e600fd2726f303694fdb87f2eb08ddc78f5c3ee.zip
update daughter card eeprom layout
Diffstat (limited to 'io-module')
-rw-r--r--io-module/mts_io.c7
-rw-r--r--io-module/mts_io.h7
2 files changed, 8 insertions, 6 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index 8c38119..a8e85e3 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -2885,9 +2885,10 @@ static int mts_dc_eeprom_load(void)
has_daughter_card = true;
- log_info("daughter card serial: %.32s", dc_eeprom.serial);
- log_info("daughter card hardware version: %.32s", dc_eeprom.hw_rev);
- log_info("daughter card product id: %.32s", dc_eeprom.product_id);
+ log_info("daughter card vendor-id: %.32s", dc_eeprom.vendor_id);
+ log_info("daughter card product-id: %.32s", dc_eeprom.product_id);
+ log_info("daughter card device-id: %.32s", dc_eeprom.device_id);
+ log_info("daughter card hw-version: %.32s", dc_eeprom.hw_version);
/* TODO: only show the mac address if this is the ethernet card */
log_info("daughter card mac-addr: %02X:%02X:%02X:%02X:%02X:%02X",
dc_eeprom.mac_addr[0],
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index 86ab32e..b7b53e0 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -99,11 +99,12 @@ struct mts_id_eeprom_layout {
/* daughter card EEPROM */
struct mts_dc_eeprom_layout {
- char serial[32];
- char hw_rev[32];
+ char vendor_id[32];
char product_id[32];
+ char device_id[32];
+ char hw_version[32];
uint8_t mac_addr[6];
- uint8_t reserved[410];
+ uint8_t reserved[378];
};
// GPIO pin types:input, output, open drain (1 = high Z, 0 = output low)