9
0
Fork 0

doc fixed in i.MX27 fec related files

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
This commit is contained in:
Juergen Beisert 2007-11-12 15:56:39 +01:00
parent 8121f788c0
commit dae2d42d9b
2 changed files with 9 additions and 8 deletions

View File

@ -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

View File

@ -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 */