From 8e600fd2726f303694fdb87f2eb08ddc78f5c3ee Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Thu, 30 Jan 2014 15:32:02 -0600 Subject: update daughter card eeprom layout --- io-module/mts_io.c | 7 ++++--- io-module/mts_io.h | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'io-module') 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) -- cgit v1.2.3