Print this page
XXXX introduce drv_sectohz
*** 45,57 ****
* Useful macros and typedefs
*/
#define GEM_NAME_LEN 32
! #define GEM_TX_TIMEOUT (drv_usectohz(5*1000000))
! #define GEM_TX_TIMEOUT_INTERVAL (drv_usectohz(1*1000000))
! #define GEM_LINK_WATCH_INTERVAL (drv_usectohz(1*1000000)) /* 1 sec */
/* general return code */
#define GEM_SUCCESS 0
#define GEM_FAILURE (-1)
--- 45,57 ----
* Useful macros and typedefs
*/
#define GEM_NAME_LEN 32
! #define GEM_TX_TIMEOUT drv_sectohz(5)
! #define GEM_TX_TIMEOUT_INTERVAL drv_sectohz(1)
! #define GEM_LINK_WATCH_INTERVAL drv_sectohz(1)
/* general return code */
#define GEM_SUCCESS 0
#define GEM_FAILURE (-1)