Renamed EoE interfaces to eoe<MASTER>s<SLAVE>.
This commit is contained in:
parent
47f04dac71
commit
2d6ec6ec99
|
|
@ -117,7 +117,7 @@ int ec_eoe_init(
|
||||||
eoe->tx_rate = 0;
|
eoe->tx_rate = 0;
|
||||||
eoe->rate_jiffies = 0;
|
eoe->rate_jiffies = 0;
|
||||||
|
|
||||||
sprintf(name, "eoe%u-%u", slave->master->index, slave->ring_position);
|
sprintf(name, "eoe%us%u", slave->master->index, slave->ring_position);
|
||||||
|
|
||||||
if (!(eoe->dev = alloc_netdev(sizeof(ec_eoe_t *), name, ether_setup))) {
|
if (!(eoe->dev = alloc_netdev(sizeof(ec_eoe_t *), name, ether_setup))) {
|
||||||
EC_ERR("Unable to allocate net_device for EoE handler!\n");
|
EC_ERR("Unable to allocate net_device for EoE handler!\n");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue