equal
deleted
inserted
replaced
215 EC_DBG(KERN_ERR "EtherCAT: Could not read SII product code!\n"); |
215 EC_DBG(KERN_ERR "EtherCAT: Could not read SII product code!\n"); |
216 return -1; |
216 return -1; |
217 } |
217 } |
218 |
218 |
219 if (EtherCAT_read_slave_information(master, cur->station_address, |
219 if (EtherCAT_read_slave_information(master, cur->station_address, |
220 0x000E, &cur->revision_number) != 0) |
220 0x000C, &cur->revision_number) != 0) |
221 { |
221 { |
222 EC_DBG(KERN_ERR "EtherCAT: Could not read SII revision number!\n"); |
222 EC_DBG(KERN_ERR "EtherCAT: Could not read SII revision number!\n"); |
223 return -1; |
223 return -1; |
224 } |
224 } |
225 |
225 |
226 if (EtherCAT_read_slave_information(master, cur->station_address, |
226 if (EtherCAT_read_slave_information(master, cur->station_address, |
227 0x0012, &cur->serial_number) != 0) |
227 0x000E, &cur->serial_number) != 0) |
228 { |
228 { |
229 EC_DBG(KERN_ERR "EtherCAT: Could not read SII serial number!\n"); |
229 EC_DBG(KERN_ERR "EtherCAT: Could not read SII serial number!\n"); |
230 return -1; |
230 return -1; |
231 } |
231 } |
232 |
232 |