# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1415260535 -3600
# Node ID d71acfbd73194d6491466155d5e38638dd89a367
# Parent  d3c85c7c9e56736e098d8f57aba7f9155593bbdb
Removed obsolete mailbox type name and clarified documentation.

diff -r d3c85c7c9e56 -r d71acfbd7319 master/globals.h
--- a/master/globals.h	Thu Nov 06 08:54:14 2014 +0100
+++ b/master/globals.h	Thu Nov 06 08:55:35 2014 +0100
@@ -142,6 +142,9 @@
 } ec_slave_state_t;
 
 /** Supported mailbox protocols.
+ *
+ * Not to mix up with the mailbox type field in the mailbox header defined in
+ * master/mailbox.h.
  */
 enum {
     EC_MBOX_AOE = 0x01, /**< ADS over EtherCAT */
diff -r d3c85c7c9e56 -r d71acfbd7319 master/mailbox.h
--- a/master/mailbox.h	Thu Nov 06 08:54:14 2014 +0100
+++ b/master/mailbox.h	Thu Nov 06 08:55:35 2014 +0100
@@ -46,8 +46,10 @@
 #define EC_MBOX_HEADER_SIZE 6
 
 /** Mailbox types.
+ *
+ * These are used in the 'Type' field of the mailbox header.
  */
-enum ec_mbox_types {
+enum {
     EC_MBOX_TYPE_EOE = 0x02,
     EC_MBOX_TYPE_COE = 0x03,
     EC_MBOX_TYPE_FOE = 0x04,