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