Addresse der Revisionsnummer im SII korrigiert.
authorFlorian Pose <fp@igh-essen.com>
Fri, 11 Nov 2005 13:52:12 +0000
changeset 15 72d95aa70c1d
parent 14 28b57b073f58
child 16 f04e93b8af0f
Addresse der Revisionsnummer im SII korrigiert.
drivers/ec_master.c
--- a/drivers/ec_master.c	Fri Nov 11 13:51:21 2005 +0000
+++ b/drivers/ec_master.c	Fri Nov 11 13:52:12 2005 +0000
@@ -217,14 +217,14 @@
     }
 
     if (EtherCAT_read_slave_information(master, cur->station_address,
-                                        0x000E, &cur->revision_number) != 0)
+                                        0x000C, &cur->revision_number) != 0)
     {
       EC_DBG(KERN_ERR "EtherCAT: Could not read SII revision number!\n");
       return -1;
     }
 
     if (EtherCAT_read_slave_information(master, cur->station_address,
-                                        0x0012, &cur->serial_number) != 0)
+                                        0x000E, &cur->serial_number) != 0)
     {
       EC_DBG(KERN_ERR "EtherCAT: Could not read SII serial number!\n");
       return -1;