equal
deleted
inserted
replaced
115 eoe->tx_counter = 0; |
115 eoe->tx_counter = 0; |
116 eoe->rx_rate = 0; |
116 eoe->rx_rate = 0; |
117 eoe->tx_rate = 0; |
117 eoe->tx_rate = 0; |
118 eoe->rate_jiffies = 0; |
118 eoe->rate_jiffies = 0; |
119 |
119 |
120 sprintf(name, "eoe%u-%u", slave->master->index, slave->ring_position); |
120 sprintf(name, "eoe%us%u", slave->master->index, slave->ring_position); |
121 |
121 |
122 if (!(eoe->dev = alloc_netdev(sizeof(ec_eoe_t *), name, ether_setup))) { |
122 if (!(eoe->dev = alloc_netdev(sizeof(ec_eoe_t *), name, ether_setup))) { |
123 EC_ERR("Unable to allocate net_device for EoE handler!\n"); |
123 EC_ERR("Unable to allocate net_device for EoE handler!\n"); |
124 goto out_return; |
124 goto out_return; |
125 } |
125 } |