]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/sja1000p.c
LinCAN driver major structured comments and documentation update
[lincan.git] / lincan / src / sja1000p.c
index 19e2e57385470c9c146cdee3d4f14888311c3411..ef587dd1e93568b1a906087025b5d6a352600bc6 100644 (file)
 #include "../include/main.h"
 #include "../include/sja1000p.h"
 
 #include "../include/main.h"
 #include "../include/sja1000p.h"
 
+/**
+ * sja1000p_enable_configuration - enable chip configuration mode
+ * @chip: pointer to chip state structure
+ */
 int sja1000p_enable_configuration(struct chip_t *chip)
 {
        int i=0;
 int sja1000p_enable_configuration(struct chip_t *chip)
 {
        int i=0;
@@ -44,6 +48,10 @@ int sja1000p_enable_configuration(struct chip_t *chip)
        return 0;
 }
 
        return 0;
 }
 
+/**
+ * sja1000p_disable_configuration - disable chip configuration mode
+ * @chip: pointer to chip state structure
+ */
 int sja1000p_disable_configuration(struct chip_t *chip)
 {
        int i=0;
 int sja1000p_disable_configuration(struct chip_t *chip)
 {
        int i=0;
@@ -426,7 +434,7 @@ int sja1000p_set_btregs(struct chip_t *chip, unsigned short btr0,
 }
 
 /**
 }
 
 /**
- * sja1000p_stop_chip: -  starts chip message processing
+ * sja1000p_start_chip: -  starts chip message processing
  * @chip: pointer to chip state structure
  *
  * Return Value: negative value reports error.
  * @chip: pointer to chip state structure
  *
  * Return Value: negative value reports error.