linux/dim: Rename externally exposed macros
[muen/linux.git] / drivers / net / ethernet / broadcom / bcmsysport.c
index c623896..b5e2f9d 100644 (file)
@@ -1099,7 +1099,7 @@ static void bcm_sysport_dim_work(struct work_struct *work)
                        net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
 
        bcm_sysport_set_rx_coalesce(priv, cur_profile.usec, cur_profile.pkts);
-       dim->state = NET_DIM_START_MEASURE;
+       dim->state = DIM_START_MEASURE;
 }
 
 /* RX and misc interrupt routine */
@@ -1440,7 +1440,7 @@ static void bcm_sysport_init_dim(struct bcm_sysport_priv *priv,
        struct bcm_sysport_net_dim *dim = &priv->dim;
 
        INIT_WORK(&dim->dim.work, cb);
-       dim->dim.mode = NET_DIM_CQ_PERIOD_MODE_START_FROM_EQE;
+       dim->dim.mode = DIM_CQ_PERIOD_MODE_START_FROM_EQE;
        dim->event_ctr = 0;
        dim->packets = 0;
        dim->bytes = 0;