diff options
author | Jon Mason <jdmason@kudzu.us> | 2011-04-08 11:11:21 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-12 18:22:33 (GMT) |
commit | cd883a791b55c3c52ce402cd551585fed092d240 (patch) | |
tree | 9f7e6191bf756e55904b0ad217fdc32403962090 /drivers/net/vxge/vxge-traffic.h | |
parent | d83d282bcbf24ec8ddd4f0eb57f7ad302c431b8a (diff) | |
download | linux-cd883a791b55c3c52ce402cd551585fed092d240.tar.xz |
vxge: always enable hardware time stamp
Hardware time stamp calculation can only be enabled by the privileged
function. Enable it always by default and simply use the ethtool
interface to set a flag to indicate whether or not the respective
function driver should indicate the timestamp along with the received
packet.
Also, make certain fields in vxge_hw_device_config bit-fields to reduce
the size of the struct.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-traffic.h')
-rw-r--r-- | drivers/net/vxge/vxge-traffic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxge/vxge-traffic.h b/drivers/net/vxge/vxge-traffic.h index 6c2fc0b..4a518a3 100644 --- a/drivers/net/vxge/vxge-traffic.h +++ b/drivers/net/vxge/vxge-traffic.h @@ -240,7 +240,7 @@ struct vxge_hw_tim_intr_config { u32 btimer_val; #define VXGE_HW_MIN_TIM_BTIMER_VAL 0 #define VXGE_HW_MAX_TIM_BTIMER_VAL 67108864 -#define VXGE_HW_USE_FLASH_DEFAULT 0xffffffff +#define VXGE_HW_USE_FLASH_DEFAULT (~0) u32 timer_ac_en; #define VXGE_HW_TIM_TIMER_AC_ENABLE 1 |