doc fixed in i.MX27 fec related files
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
This commit is contained in:
parent
8121f788c0
commit
dae2d42d9b
|
@ -261,7 +261,7 @@ typedef struct ethernet_register_set {
|
||||||
/**
|
/**
|
||||||
* @brief Descriptor buffer alignment
|
* @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
|
#define DB_ALIGNMENT 16
|
||||||
|
|
||||||
|
@ -269,7 +269,8 @@ typedef struct ethernet_register_set {
|
||||||
* @brief Data buffer alignment
|
* @brief Data buffer alignment
|
||||||
*
|
*
|
||||||
* i.MX27 requires a four byte 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
|
#define DB_DATA_ALIGNMENT 4
|
||||||
|
|
||||||
|
@ -300,16 +301,16 @@ typedef struct {
|
||||||
/**
|
/**
|
||||||
* @brief Numbers of buffer descriptors for receiving
|
* @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.
|
* Larger values makes no sense in this limited environment.
|
||||||
*/
|
*/
|
||||||
#define FEC_RBD_NUM 64
|
#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
|
* 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.
|
* driver can't handle it.
|
||||||
*/
|
*/
|
||||||
#define FEC_MAX_PKT_SIZE 1536
|
#define FEC_MAX_PKT_SIZE 1536
|
||||||
|
|
|
@ -37,9 +37,9 @@ struct fec_platform_data {
|
||||||
* Supported phy types on this platform
|
* Supported phy types on this platform
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SEVENWIRE, /** 7-wire */
|
SEVENWIRE, /**< 7-wire */
|
||||||
MII10, /** MII 10Mbps */
|
MII10, /**< MII 10Mbps */
|
||||||
MII100 /** MII 100Mbps */
|
MII100 /**< MII 100Mbps */
|
||||||
} xceiver_type;
|
} xceiver_type;
|
||||||
|
|
||||||
#endif /* __INCLUDE_NETWORK_FEC_H */
|
#endif /* __INCLUDE_NETWORK_FEC_H */
|
||||||
|
|
Loading…
Reference in New Issue