From dae2d42d9bc12591a915868a1735f81608a5fc5f Mon Sep 17 00:00:00 2001 From: Juergen Beisert Date: Mon, 12 Nov 2007 15:56:39 +0100 Subject: [PATCH] doc fixed in i.MX27 fec related files Signed-off-by: Juergen Beisert --- drivers/net/fec_imx27.h | 11 ++++++----- include/fec.h | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/net/fec_imx27.h b/drivers/net/fec_imx27.h index efc69981d..7f78496a1 100644 --- a/drivers/net/fec_imx27.h +++ b/drivers/net/fec_imx27.h @@ -261,7 +261,7 @@ typedef struct ethernet_register_set { /** * @brief Descriptor buffer alignment * - * i.MX27 requires a 16 byte alignment + * i.MX27 requires a 16 byte alignment (but for the first element only) */ #define DB_ALIGNMENT 16 @@ -269,7 +269,8 @@ typedef struct ethernet_register_set { * @brief Data buffer alignment * * i.MX27 requires a four byte alignment - * Note: Valid for data_pointer in struct buffer_descriptor + * + * Note: Valid for member data_pointer in struct buffer_descriptor */ #define DB_DATA_ALIGNMENT 4 @@ -300,16 +301,16 @@ typedef struct { /** * @brief Numbers of buffer descriptors for receiving * - * The number defines the stocked memory buffers for the receiving taskt. + * The number defines the stocked memory buffers for the receiving task. * Larger values makes no sense in this limited environment. */ #define FEC_RBD_NUM 64 /** - * @brief define the ethernet packet size limit in memory + * @brief Define the ethernet packet size limit in memory * * Note: Do not shrink this number. This will force the FEC to spread larger - * frames in more than one BD. There is nothing to worry about, but the current + * frames in more than one BD. This is nothing to worry about, but the current * driver can't handle it. */ #define FEC_MAX_PKT_SIZE 1536 diff --git a/include/fec.h b/include/fec.h index 8ca3c527a..f8247da57 100644 --- a/include/fec.h +++ b/include/fec.h @@ -37,9 +37,9 @@ struct fec_platform_data { * Supported phy types on this platform */ typedef enum { - SEVENWIRE, /** 7-wire */ - MII10, /** MII 10Mbps */ - MII100 /** MII 100Mbps */ + SEVENWIRE, /**< 7-wire */ + MII10, /**< MII 10Mbps */ + MII100 /**< MII 100Mbps */ } xceiver_type; #endif /* __INCLUDE_NETWORK_FEC_H */