diff -r aece53f82df3 -r 03d2fe3d4a93 master/slave.h --- a/master/slave.h Wed Sep 19 17:44:28 2007 +0000 +++ b/master/slave.h Thu Sep 20 09:12:27 2007 +0000 @@ -175,8 +175,9 @@ struct list_head sdo_dictionary; /**< SDO dictionary list */ struct list_head sdo_confs; /**< list of SDO configurations */ uint8_t sdo_dictionary_fetched; /**< dictionary has been fetched */ + unsigned long jiffies_preop; /**< time, the slave went to PREOP */ + uint8_t pdo_mapping_fetched; /**< PDO mapping has been fetched */ - unsigned long jiffies_preop; /**< time, the slave went to PREOP */ }; /*****************************************************************************/ @@ -195,8 +196,8 @@ void ec_slave_set_online_state(ec_slave_t *, ec_slave_online_state_t); // SII categories -int ec_slave_fetch_sii_strings(ec_slave_t *, const uint8_t *); -void ec_slave_fetch_sii_general(ec_slave_t *, const uint8_t *); +int ec_slave_fetch_sii_strings(ec_slave_t *, const uint8_t *, size_t); +int ec_slave_fetch_sii_general(ec_slave_t *, const uint8_t *, size_t); int ec_slave_fetch_sii_syncs(ec_slave_t *, const uint8_t *, size_t); int ec_slave_fetch_sii_pdos(ec_slave_t *, const uint8_t *, size_t, ec_pdo_type_t);