equal
deleted
inserted
replaced
462 // Fetch all slave information |
462 // Fetch all slave information |
463 if (ec_slave_fetch(slave)) return -1; |
463 if (ec_slave_fetch(slave)) return -1; |
464 |
464 |
465 // Search for identification in "database" |
465 // Search for identification in "database" |
466 ident = slave_idents; |
466 ident = slave_idents; |
467 while (ident) { |
467 while (ident->type) { |
468 if (unlikely(ident->vendor_id == slave->sii_vendor_id |
468 if (unlikely(ident->vendor_id == slave->sii_vendor_id |
469 && ident->product_code == slave->sii_product_code)) { |
469 && ident->product_code == slave->sii_product_code)) { |
470 slave->type = ident->type; |
470 slave->type = ident->type; |
471 break; |
471 break; |
472 } |
472 } |