Removed fix setting of device name to 'ec0'.

This commit is contained in:
Florian Pose 2008-10-22 14:58:22 +00:00
parent a0bfdb7abf
commit 1bb492abff
3 changed files with 0 additions and 3 deletions

View File

@ -2811,7 +2811,6 @@ static int __devinit e100_probe(struct pci_dev *pdev,
// offer device to EtherCAT master module
nic->ecdev = ecdev_offer(netdev, e100_ec_poll, THIS_MODULE);
if (nic->ecdev) {
strcpy(netdev->name, "ec0");
if (ecdev_open(nic->ecdev)) {
ecdev_withdraw(nic->ecdev);
goto err_out_free;

View File

@ -2824,7 +2824,6 @@ static int __devinit e100_probe(struct pci_dev *pdev,
// offer device to EtherCAT master module
nic->ecdev = ecdev_offer(netdev, e100_ec_poll, THIS_MODULE);
if (nic->ecdev) {
strcpy(netdev->name, "ec0");
if (ecdev_open(nic->ecdev)) {
ecdev_withdraw(nic->ecdev);
goto err_out_free;

View File

@ -2895,7 +2895,6 @@ static int __devinit e100_probe(struct pci_dev *pdev,
// offer device to EtherCAT master module
nic->ecdev = ecdev_offer(netdev, e100_ec_poll, THIS_MODULE);
if (nic->ecdev) {
strcpy(netdev->name, "ec0");
if (ecdev_open(nic->ecdev)) {
ecdev_withdraw(nic->ecdev);
goto err_out_free;