[Xenomai-git] Alexis Berlemont : analogy: the transfer structure is left with a minimal role (broken)

2010-08-02 Thread GIT version control
Module: xenomai-head
Branch: master
Commit: 417d1ba03a521ca7d91bf84c01a3f4cc2b4a9039
URL:
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=417d1ba03a521ca7d91bf84c01a3f4cc2b4a9039

Author: Alexis Berlemont 
Date:   Sun May 16 23:22:36 2010 +0200

analogy: the transfer structure is left with a minimal role (broken)

This structure should be renamed.

---

 include/analogy/transfer.h |   17 -
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/include/analogy/transfer.h b/include/analogy/transfer.h
index e6bdc3c..929022b 100644
--- a/include/analogy/transfer.h
+++ b/include/analogy/transfer.h
@@ -30,15 +30,14 @@
 #include 
 
 /* Status flags / bits */
-#define A4L_TSF_BUSY 0
-#define A4L_TSF_BULK 1
-#define A4L_TSF_MMAP 2
-#define A4L_TSF_CLEAN 3
+#define A4L_TSF_CLEAN 0
 
 /* Fields init values */
 #define A4L_IRQ_UNUSED (unsigned int)((unsigned short)(~0))
 #define A4L_IDX_UNUSED (unsigned int)(~0)
 
+/* TODO: IRQ handling must leave transfer for os_facilities */
+
 /* IRQ types */
 #define A4L_IRQ_SHARED RTDM_IRQTYPE_SHARED
 #define A4L_IRQ_EDGE RTDM_IRQTYPE_EDGE
@@ -51,24 +50,16 @@
 #ifdef __KERNEL__
 
 struct a4l_device;
-
 /* Analogy transfer descriptor */
 struct a4l_transfer {
 
/* Subdevices desc */
unsigned int nb_subd;
a4l_subd_t **subds;
-   int idx_read_subd;
-   int idx_write_subd;
-
-   /* Buffer desc */
-   a4l_buf_t **bufs;
 
/* IRQ in use */
+   /* TODO: irq_desc should vanish */
a4l_irq_desc_t irq_desc;
-
-   /* Events/status desc */
-   unsigned long *status;
 };
 typedef struct a4l_transfer a4l_trf_t;
 


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


[Xenomai-git] Alexis Berlemont : analogy: the transfer structure is left with a minimal role (broken)

2010-07-17 Thread GIT version control
Module: xenomai-2.5
Branch: master
Commit: 417d1ba03a521ca7d91bf84c01a3f4cc2b4a9039
URL:
http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=417d1ba03a521ca7d91bf84c01a3f4cc2b4a9039

Author: Alexis Berlemont 
Date:   Sun May 16 23:22:36 2010 +0200

analogy: the transfer structure is left with a minimal role (broken)

This structure should be renamed.

---

 include/analogy/transfer.h |   17 -
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/include/analogy/transfer.h b/include/analogy/transfer.h
index e6bdc3c..929022b 100644
--- a/include/analogy/transfer.h
+++ b/include/analogy/transfer.h
@@ -30,15 +30,14 @@
 #include 
 
 /* Status flags / bits */
-#define A4L_TSF_BUSY 0
-#define A4L_TSF_BULK 1
-#define A4L_TSF_MMAP 2
-#define A4L_TSF_CLEAN 3
+#define A4L_TSF_CLEAN 0
 
 /* Fields init values */
 #define A4L_IRQ_UNUSED (unsigned int)((unsigned short)(~0))
 #define A4L_IDX_UNUSED (unsigned int)(~0)
 
+/* TODO: IRQ handling must leave transfer for os_facilities */
+
 /* IRQ types */
 #define A4L_IRQ_SHARED RTDM_IRQTYPE_SHARED
 #define A4L_IRQ_EDGE RTDM_IRQTYPE_EDGE
@@ -51,24 +50,16 @@
 #ifdef __KERNEL__
 
 struct a4l_device;
-
 /* Analogy transfer descriptor */
 struct a4l_transfer {
 
/* Subdevices desc */
unsigned int nb_subd;
a4l_subd_t **subds;
-   int idx_read_subd;
-   int idx_write_subd;
-
-   /* Buffer desc */
-   a4l_buf_t **bufs;
 
/* IRQ in use */
+   /* TODO: irq_desc should vanish */
a4l_irq_desc_t irq_desc;
-
-   /* Events/status desc */
-   unsigned long *status;
 };
 typedef struct a4l_transfer a4l_trf_t;
 


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


[Xenomai-git] Alexis Berlemont : analogy: the transfer structure is left with a minimal role (broken)

2010-07-09 Thread GIT version control
Module: xenomai-abe
Branch: analogy
Commit: 417d1ba03a521ca7d91bf84c01a3f4cc2b4a9039
URL:
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=417d1ba03a521ca7d91bf84c01a3f4cc2b4a9039

Author: Alexis Berlemont 
Date:   Sun May 16 23:22:36 2010 +0200

analogy: the transfer structure is left with a minimal role (broken)

This structure should be renamed.

---

 include/analogy/transfer.h |   17 -
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/include/analogy/transfer.h b/include/analogy/transfer.h
index e6bdc3c..929022b 100644
--- a/include/analogy/transfer.h
+++ b/include/analogy/transfer.h
@@ -30,15 +30,14 @@
 #include 
 
 /* Status flags / bits */
-#define A4L_TSF_BUSY 0
-#define A4L_TSF_BULK 1
-#define A4L_TSF_MMAP 2
-#define A4L_TSF_CLEAN 3
+#define A4L_TSF_CLEAN 0
 
 /* Fields init values */
 #define A4L_IRQ_UNUSED (unsigned int)((unsigned short)(~0))
 #define A4L_IDX_UNUSED (unsigned int)(~0)
 
+/* TODO: IRQ handling must leave transfer for os_facilities */
+
 /* IRQ types */
 #define A4L_IRQ_SHARED RTDM_IRQTYPE_SHARED
 #define A4L_IRQ_EDGE RTDM_IRQTYPE_EDGE
@@ -51,24 +50,16 @@
 #ifdef __KERNEL__
 
 struct a4l_device;
-
 /* Analogy transfer descriptor */
 struct a4l_transfer {
 
/* Subdevices desc */
unsigned int nb_subd;
a4l_subd_t **subds;
-   int idx_read_subd;
-   int idx_write_subd;
-
-   /* Buffer desc */
-   a4l_buf_t **bufs;
 
/* IRQ in use */
+   /* TODO: irq_desc should vanish */
a4l_irq_desc_t irq_desc;
-
-   /* Events/status desc */
-   unsigned long *status;
 };
 typedef struct a4l_transfer a4l_trf_t;
 


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


[Xenomai-git] Alexis Berlemont : analogy: the transfer structure is left with a minimal role (broken)

2010-07-07 Thread GIT version control
Module: xenomai-abe
Branch: analogy
Commit: 2b6b213991c55bb87119fcbb4fa2c282d9913a79
URL:
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=2b6b213991c55bb87119fcbb4fa2c282d9913a79

Author: Alexis Berlemont 
Date:   Sun May 16 23:22:36 2010 +0200

analogy: the transfer structure is left with a minimal role (broken)

This structure should be renamed.

---

 include/analogy/transfer.h |   17 -
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/include/analogy/transfer.h b/include/analogy/transfer.h
index e6bdc3c..929022b 100644
--- a/include/analogy/transfer.h
+++ b/include/analogy/transfer.h
@@ -30,15 +30,14 @@
 #include 
 
 /* Status flags / bits */
-#define A4L_TSF_BUSY 0
-#define A4L_TSF_BULK 1
-#define A4L_TSF_MMAP 2
-#define A4L_TSF_CLEAN 3
+#define A4L_TSF_CLEAN 0
 
 /* Fields init values */
 #define A4L_IRQ_UNUSED (unsigned int)((unsigned short)(~0))
 #define A4L_IDX_UNUSED (unsigned int)(~0)
 
+/* TODO: IRQ handling must leave transfer for os_facilities */
+
 /* IRQ types */
 #define A4L_IRQ_SHARED RTDM_IRQTYPE_SHARED
 #define A4L_IRQ_EDGE RTDM_IRQTYPE_EDGE
@@ -51,24 +50,16 @@
 #ifdef __KERNEL__
 
 struct a4l_device;
-
 /* Analogy transfer descriptor */
 struct a4l_transfer {
 
/* Subdevices desc */
unsigned int nb_subd;
a4l_subd_t **subds;
-   int idx_read_subd;
-   int idx_write_subd;
-
-   /* Buffer desc */
-   a4l_buf_t **bufs;
 
/* IRQ in use */
+   /* TODO: irq_desc should vanish */
a4l_irq_desc_t irq_desc;
-
-   /* Events/status desc */
-   unsigned long *status;
 };
 typedef struct a4l_transfer a4l_trf_t;
 


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


[Xenomai-git] Alexis Berlemont : analogy: the transfer structure is left with a minimal role (broken)

2010-06-24 Thread GIT version control
Module: xenomai-abe
Branch: analogy
Commit: 8bb9a218fcf6a6d8e3fe997c37700850a501c6cb
URL:
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=8bb9a218fcf6a6d8e3fe997c37700850a501c6cb

Author: Alexis Berlemont 
Date:   Sun May 16 23:22:36 2010 +0200

analogy: the transfer structure is left with a minimal role (broken)

This structure should be renamed.

---

 include/analogy/transfer.h |   17 -
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/include/analogy/transfer.h b/include/analogy/transfer.h
index e6bdc3c..929022b 100644
--- a/include/analogy/transfer.h
+++ b/include/analogy/transfer.h
@@ -30,15 +30,14 @@
 #include 
 
 /* Status flags / bits */
-#define A4L_TSF_BUSY 0
-#define A4L_TSF_BULK 1
-#define A4L_TSF_MMAP 2
-#define A4L_TSF_CLEAN 3
+#define A4L_TSF_CLEAN 0
 
 /* Fields init values */
 #define A4L_IRQ_UNUSED (unsigned int)((unsigned short)(~0))
 #define A4L_IDX_UNUSED (unsigned int)(~0)
 
+/* TODO: IRQ handling must leave transfer for os_facilities */
+
 /* IRQ types */
 #define A4L_IRQ_SHARED RTDM_IRQTYPE_SHARED
 #define A4L_IRQ_EDGE RTDM_IRQTYPE_EDGE
@@ -51,24 +50,16 @@
 #ifdef __KERNEL__
 
 struct a4l_device;
-
 /* Analogy transfer descriptor */
 struct a4l_transfer {
 
/* Subdevices desc */
unsigned int nb_subd;
a4l_subd_t **subds;
-   int idx_read_subd;
-   int idx_write_subd;
-
-   /* Buffer desc */
-   a4l_buf_t **bufs;
 
/* IRQ in use */
+   /* TODO: irq_desc should vanish */
a4l_irq_desc_t irq_desc;
-
-   /* Events/status desc */
-   unsigned long *status;
 };
 typedef struct a4l_transfer a4l_trf_t;
 


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


[Xenomai-git] Alexis Berlemont : analogy: the transfer structure is left with a minimal role (broken)

2010-06-24 Thread GIT version control
Module: xenomai-abe
Branch: experimental
Commit: 8bb9a218fcf6a6d8e3fe997c37700850a501c6cb
URL:
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=8bb9a218fcf6a6d8e3fe997c37700850a501c6cb

Author: Alexis Berlemont 
Date:   Sun May 16 23:22:36 2010 +0200

analogy: the transfer structure is left with a minimal role (broken)

This structure should be renamed.

---

 include/analogy/transfer.h |   17 -
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/include/analogy/transfer.h b/include/analogy/transfer.h
index e6bdc3c..929022b 100644
--- a/include/analogy/transfer.h
+++ b/include/analogy/transfer.h
@@ -30,15 +30,14 @@
 #include 
 
 /* Status flags / bits */
-#define A4L_TSF_BUSY 0
-#define A4L_TSF_BULK 1
-#define A4L_TSF_MMAP 2
-#define A4L_TSF_CLEAN 3
+#define A4L_TSF_CLEAN 0
 
 /* Fields init values */
 #define A4L_IRQ_UNUSED (unsigned int)((unsigned short)(~0))
 #define A4L_IDX_UNUSED (unsigned int)(~0)
 
+/* TODO: IRQ handling must leave transfer for os_facilities */
+
 /* IRQ types */
 #define A4L_IRQ_SHARED RTDM_IRQTYPE_SHARED
 #define A4L_IRQ_EDGE RTDM_IRQTYPE_EDGE
@@ -51,24 +50,16 @@
 #ifdef __KERNEL__
 
 struct a4l_device;
-
 /* Analogy transfer descriptor */
 struct a4l_transfer {
 
/* Subdevices desc */
unsigned int nb_subd;
a4l_subd_t **subds;
-   int idx_read_subd;
-   int idx_write_subd;
-
-   /* Buffer desc */
-   a4l_buf_t **bufs;
 
/* IRQ in use */
+   /* TODO: irq_desc should vanish */
a4l_irq_desc_t irq_desc;
-
-   /* Events/status desc */
-   unsigned long *status;
 };
 typedef struct a4l_transfer a4l_trf_t;
 


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


[Xenomai-git] Alexis Berlemont : analogy: the transfer structure is left with a minimal role (broken)

2010-06-13 Thread GIT version control
Module: xenomai-abe
Branch: experimental
Commit: 111fa175c6ec0428ab3901624031256586794fde
URL:
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=111fa175c6ec0428ab3901624031256586794fde

Author: Alexis Berlemont 
Date:   Sun May 16 23:22:36 2010 +0200

analogy: the transfer structure is left with a minimal role (broken)

This structure should be renamed.

---

 include/analogy/transfer.h |   17 -
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/include/analogy/transfer.h b/include/analogy/transfer.h
index e6bdc3c..929022b 100644
--- a/include/analogy/transfer.h
+++ b/include/analogy/transfer.h
@@ -30,15 +30,14 @@
 #include 
 
 /* Status flags / bits */
-#define A4L_TSF_BUSY 0
-#define A4L_TSF_BULK 1
-#define A4L_TSF_MMAP 2
-#define A4L_TSF_CLEAN 3
+#define A4L_TSF_CLEAN 0
 
 /* Fields init values */
 #define A4L_IRQ_UNUSED (unsigned int)((unsigned short)(~0))
 #define A4L_IDX_UNUSED (unsigned int)(~0)
 
+/* TODO: IRQ handling must leave transfer for os_facilities */
+
 /* IRQ types */
 #define A4L_IRQ_SHARED RTDM_IRQTYPE_SHARED
 #define A4L_IRQ_EDGE RTDM_IRQTYPE_EDGE
@@ -51,24 +50,16 @@
 #ifdef __KERNEL__
 
 struct a4l_device;
-
 /* Analogy transfer descriptor */
 struct a4l_transfer {
 
/* Subdevices desc */
unsigned int nb_subd;
a4l_subd_t **subds;
-   int idx_read_subd;
-   int idx_write_subd;
-
-   /* Buffer desc */
-   a4l_buf_t **bufs;
 
/* IRQ in use */
+   /* TODO: irq_desc should vanish */
a4l_irq_desc_t irq_desc;
-
-   /* Events/status desc */
-   unsigned long *status;
 };
 typedef struct a4l_transfer a4l_trf_t;
 


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