diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2007-11-12 15:56:39 +0100 |
---|---|---|
committer | Juergen Beisert <j.beisert@pengutronix.de> | 2007-11-12 16:28:23 +0100 |
commit | dae2d42d9bc12591a915868a1735f81608a5fc5f (patch) | |
tree | 653342ec61a8e452235ed707927de5e0c54315cb | |
parent | 8121f788c0bda5243af269ec70e4d65f794736d3 (diff) | |
download | barebox-dae2d42d9bc12591a915868a1735f81608a5fc5f.tar.gz barebox-dae2d42d9bc12591a915868a1735f81608a5fc5f.tar.xz |
doc fixed in i.MX27 fec related files
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
-rw-r--r-- | drivers/net/fec_imx27.h | 11 | ||||
-rw-r--r-- | 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 efc69981db..7f78496a13 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 8ca3c527a7..f8247da57a 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 */ |