[Xenomai-git] Alexis Berlemont : analogy: make a4l_config_subd support open drain configuration

2010-03-28 Thread GIT version control
Module: xenomai-2.5
Branch: master
Commit: 4d8bc9f203b926fb316b9695660ca187e13881da
URL:
http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=4d8bc9f203b926fb316b9695660ca187e13881da

Author: Alexis Berlemont alexis.berlem...@gmail.com
Date:   Sat Feb 20 17:34:14 2010 +0100

analogy: make a4l_config_subd support open drain configuration

---

 src/drvlib/analogy/sync.c |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/drvlib/analogy/sync.c b/src/drvlib/analogy/sync.c
index 73f1dd6..4bcde62 100644
--- a/src/drvlib/analogy/sync.c
+++ b/src/drvlib/analogy/sync.c
@@ -315,7 +315,7 @@ int a4l_sync_dio(a4l_desc_t *dsc,
return -EINVAL;
}
 
-   /* Send the config instruction */
+   /* Send the insn_bits instruction */
ret = a4l_snd_insn(dsc, insn);
 
/* Update the buffer if need be */
@@ -375,6 +375,7 @@ int a4l_config_subd(a4l_desc_t * dsc,
switch (type) {
case A4L_INSN_CONFIG_DIO_OUTPUT:
case A4L_INSN_CONFIG_DIO_INPUT:
+   case A4L_INSN_CONFIG_DIO_OPENDRAIN:
{
unsigned int idx_chan = va_arg(args, unsigned int);
insn.chan_desc = CHAN(idx_chan);


___
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git


[Xenomai-git] Alexis Berlemont : analogy: make a4l_config_subd support open drain configuration

2010-03-18 Thread GIT version control
Module: xenomai-abe
Branch: analogy
Commit: 4d8bc9f203b926fb316b9695660ca187e13881da
URL:
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=4d8bc9f203b926fb316b9695660ca187e13881da

Author: Alexis Berlemont alexis.berlem...@gmail.com
Date:   Sat Feb 20 17:34:14 2010 +0100

analogy: make a4l_config_subd support open drain configuration

---

 src/drvlib/analogy/sync.c |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/drvlib/analogy/sync.c b/src/drvlib/analogy/sync.c
index 73f1dd6..4bcde62 100644
--- a/src/drvlib/analogy/sync.c
+++ b/src/drvlib/analogy/sync.c
@@ -315,7 +315,7 @@ int a4l_sync_dio(a4l_desc_t *dsc,
return -EINVAL;
}
 
-   /* Send the config instruction */
+   /* Send the insn_bits instruction */
ret = a4l_snd_insn(dsc, insn);
 
/* Update the buffer if need be */
@@ -375,6 +375,7 @@ int a4l_config_subd(a4l_desc_t * dsc,
switch (type) {
case A4L_INSN_CONFIG_DIO_OUTPUT:
case A4L_INSN_CONFIG_DIO_INPUT:
+   case A4L_INSN_CONFIG_DIO_OPENDRAIN:
{
unsigned int idx_chan = va_arg(args, unsigned int);
insn.chan_desc = CHAN(idx_chan);


___
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git


[Xenomai-git] Alexis Berlemont : analogy: make a4l_config_subd support open drain configuration

2010-02-28 Thread GIT version control
Module: xenomai-abe
Branch: analogy
Commit: 4fd49fb1dd6ebe982ca4e6d5ef697425ca4c144f
URL:
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=4fd49fb1dd6ebe982ca4e6d5ef697425ca4c144f

Author: Alexis Berlemont alexis.berlem...@gmail.com
Date:   Sat Feb 20 17:34:14 2010 +0100

analogy: make a4l_config_subd support open drain configuration

---

 src/drvlib/analogy/sync.c |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/drvlib/analogy/sync.c b/src/drvlib/analogy/sync.c
index 73f1dd6..4bcde62 100644
--- a/src/drvlib/analogy/sync.c
+++ b/src/drvlib/analogy/sync.c
@@ -315,7 +315,7 @@ int a4l_sync_dio(a4l_desc_t *dsc,
return -EINVAL;
}
 
-   /* Send the config instruction */
+   /* Send the insn_bits instruction */
ret = a4l_snd_insn(dsc, insn);
 
/* Update the buffer if need be */
@@ -375,6 +375,7 @@ int a4l_config_subd(a4l_desc_t * dsc,
switch (type) {
case A4L_INSN_CONFIG_DIO_OUTPUT:
case A4L_INSN_CONFIG_DIO_INPUT:
+   case A4L_INSN_CONFIG_DIO_OPENDRAIN:
{
unsigned int idx_chan = va_arg(args, unsigned int);
insn.chan_desc = CHAN(idx_chan);


___
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git