summaryrefslogtreecommitdiff
path: root/io-module/mts_eeprom.h
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-12-02 16:50:38 -0600
committerJohn Klug <john.klug@multitech.com>2016-12-02 16:50:38 -0600
commit47f3a89441324f4912a7c83bad4f40837bc365b5 (patch)
tree9f21537439bbfee6cebdc8893f983dd7f5db10b3 /io-module/mts_eeprom.h
parenteee329cd45e5ead12223bf060b33f4fe1e2a5c8c (diff)
downloadmts-io-47f3a89441324f4912a7c83bad4f40837bc365b5.tar.gz
mts-io-47f3a89441324f4912a7c83bad4f40837bc365b5.tar.bz2
mts-io-47f3a89441324f4912a7c83bad4f40837bc365b5.zip
Fix ethernet accessory card bug and add capability directory
Diffstat (limited to 'io-module/mts_eeprom.h')
-rw-r--r--io-module/mts_eeprom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io-module/mts_eeprom.h b/io-module/mts_eeprom.h
index 89f2439..f616e83 100644
--- a/io-module/mts_eeprom.h
+++ b/io-module/mts_eeprom.h
@@ -55,6 +55,7 @@ do { \
#define DEVICE_CAPA_VALUE(index, bit) ((((index) & 0x1F) << 3) | ((bit) & 0x07))
+#define CAPA_COUNT 9 // See also attribute_names in capab.c
#define CAPA_GPS DEVICE_CAPA_VALUE(0, 7)
#define CAPA_DIN DEVICE_CAPA_VALUE(0, 6)
#define CAPA_DOUT DEVICE_CAPA_VALUE(0, 5)