equal
deleted
inserted
replaced
461 str, master->index); |
461 str, master->index); |
462 |
462 |
463 ec_device_attach(&master->main_device, net_dev, poll, module); |
463 ec_device_attach(&master->main_device, net_dev, poll, module); |
464 up(&master->device_sem); |
464 up(&master->device_sem); |
465 |
465 |
466 sprintf(net_dev->name, "ec%u", master->index); |
466 snprintf(net_dev->name, IFNAMSIZ, "ec%u", master->index); |
|
467 |
467 return &master->main_device; // offer accepted |
468 return &master->main_device; // offer accepted |
468 } |
469 } |
469 else { |
470 else { |
470 up(&master->device_sem); |
471 up(&master->device_sem); |
471 |
472 |