equal
deleted
inserted
replaced
1072 tp->mii.reg_num_mask = 0x1f; |
1072 tp->mii.reg_num_mask = 0x1f; |
1073 |
1073 |
1074 /* dev is fully set up and ready to use now */ |
1074 /* dev is fully set up and ready to use now */ |
1075 |
1075 |
1076 // offer device to EtherCAT master module |
1076 // offer device to EtherCAT master module |
1077 if (ecdev_offer(dev, &tp->ecdev, "8139too", board_idx, |
1077 if (ecdev_offer(dev, ec_poll, THIS_MODULE, &tp->ecdev)) { |
1078 ec_poll, THIS_MODULE)) { |
|
1079 printk(KERN_ERR PFX "Failed to offer device.\n"); |
1078 printk(KERN_ERR PFX "Failed to offer device.\n"); |
1080 goto err_out; |
1079 goto err_out; |
1081 } |
1080 } |
1082 |
1081 |
1083 if (!tp->ecdev) { |
1082 if (!tp->ecdev) { |