drivers/ec_master.c
branchkernel2.6
changeset 35 ed834aa98f89
parent 33 f4171b8aadf8
child 39 6965c23a6826
equal deleted inserted replaced
34:c1e8d61fa395 35:ed834aa98f89
   506 
   506 
   507     if (!found)
   507     if (!found)
   508     {
   508     {
   509       printk(KERN_ERR "EtherCAT: Unknown slave device"
   509       printk(KERN_ERR "EtherCAT: Unknown slave device"
   510              " (vendor %X, code %X) at position %i.\n",
   510              " (vendor %X, code %X) at position %i.\n",
   511              i, cur->vendor_id, cur->product_code);
   511              cur->vendor_id, cur->product_code, i);
   512       return -1;
   512       return -1;
   513     }
   513     }
   514   }
   514   }
   515 
   515 
   516   length = 0;
   516   length = 0;