Renamed EoE interfaces to eoe<MASTER>s<SLAVE>.
authorFlorian Pose <fp@igh-essen.com>
Tue, 07 Aug 2007 13:33:21 +0000
changeset 683 43700671b37a
parent 682 c226d705c41a
child 684 bf991809dcf0
Renamed EoE interfaces to eoe<MASTER>s<SLAVE>.
master/ethernet.c
--- a/master/ethernet.c	Tue Aug 07 13:22:37 2007 +0000
+++ b/master/ethernet.c	Tue Aug 07 13:33:21 2007 +0000
@@ -117,7 +117,7 @@
     eoe->tx_rate = 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))) {
         EC_ERR("Unable to allocate net_device for EoE handler!\n");