Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-12 Thread Oliver Endriss
Gregoire Favre wrote:
 Hello again,
 
 I don't really know how to reproduce it... from time to time I got
 gpioirq DMA RX buffer overflow in dmesg...
 
 Tonight :
 ...
 r8169: eth0: link up
 cdrom: This disc doesn't have any tracks I recognize!
 process `host' is using obsolete setsockopt SO_BSDCOMPAT
 agpgart: Found an AGP 3.0 compliant device at :00:00.0.
 agpgart: Putting AGP V3 device at :00:00.0 into 8x mode
 agpgart: Putting AGP V3 device at :01:00.0 into 8x mode
 gpioirq DMA RX buffer overflow
 ...
 gpioirq DMA RX buffer overflow
 saa7146: unregister extension 'budget_ci dvb'.
  ^
 saa7146: unregister extension 'dvb'.
  ^^^
 gpioirq DMA RX buffer overflow
 ...
 saa7146 (1) vpeirq: used 1 times 80% of buffer (174464 bytes now)
 
 I don't have any idea on how to really reproduce it ???

Apparently the drivers are being unloaded.
In this case you may safely ignore these messages.

I'll fix this issue later.

Oliver

-- 

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-12 Thread Gregoire Favre
On Sun, Nov 12, 2006 at 02:11:04PM +0100, Oliver Endriss wrote:

 Apparently the drivers are being unloaded.
 In this case you may safely ignore these messages.

 I'll fix this issue later.

Oh great, thank :-)
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-10 Thread Gregoire Favre
Hello again,

I don't really know how to reproduce it... from time to time I got
gpioirq DMA RX buffer overflow in dmesg...

Tonight :
...
r8169: eth0: link up
cdrom: This disc doesn't have any tracks I recognize!
process `host' is using obsolete setsockopt SO_BSDCOMPAT
agpgart: Found an AGP 3.0 compliant device at :00:00.0.
agpgart: Putting AGP V3 device at :00:00.0 into 8x mode
agpgart: Putting AGP V3 device at :01:00.0 into 8x mode
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
saa7146: unregister extension 'budget_ci dvb'.
saa7146: unregister extension 'dvb'.
...
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
saa7146 (1) vpeirq: used 1 times 80% of buffer (174464 bytes now)

I don't have any idea on how to really reproduce it ???
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-05 Thread Gregoire Favre
Hello,

what does those in my syslogd mean ?

gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow
gpioirq DMA RX buffer overflow

-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-05 Thread Oliver Endriss
Gregoire Favre wrote:
 what does those in my syslogd mean ?
 
 gpioirq DMA RX buffer overflow
 gpioirq DMA RX buffer overflow
 ...

Well, it means that there is no free buffer to copy incoming data from
the ARM. Should not happen during normal operation.

Can you reproduce this? How?

Oliver

-- 

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-05 Thread Grégoire FAVRE

On 05/11/06, Oliver Endriss [EMAIL PROTECTED] wrote:


 gpioirq DMA RX buffer overflow

Well, it means that there is no free buffer to copy incoming data from
the ARM. Should not happen during normal operation.

Can you reproduce this? How?


I was having lots of those while trying to shutting down my computer
with the first revision of your refactoring tree but I have to look deeper in
my log to see if they are more.

I'll report ASAP, thank :)
--
Grégoire FAVRE

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-04 Thread e9hack
Oliver Endriss wrote:
 e9hack wrote:
   
 Oliver Endriss wrote:
 
 Hi,

 Thanks to Hartmut, I2C transfers of the saa7146 may now use interrupt
 mode. It will be enabled for av7110, budget, budget-ci and budget-av
 drivers. This might reduce cpu load and speed-up tuning.
   
   
 The Cinergy 1200 DVB-C card needs a second patch. The frontend is
 accessed to fast after power-on/enable. The non interrupt mode starts a
 retry after an address error. This gives the frontend the time for
 power-on. The interrupt mode trusts the error logic of the SAA7146 and
 doesn't use retries.
 

 Thanks. I updated my repositories
 - http://linuxtv.org/hg/~endriss/v4l-dvb
 - http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring

 I'll submit the patches to HG Master on Sunday.

 Oliver

   
I've tested my patch on another computer with a Cinergy 1200C. The delay
of 10ms is too short. The value may be depend on the tolerance of some
electronic parts. I prefer to increase the delay to 100ms.

- Hartmut

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-03 Thread Gregoire Favre
On Thu, Nov 02, 2006 at 07:56:27PM +0100, Oliver Endriss wrote:

 I guess there is something missing in the 2.6.19 patch...

Then I have to wait to be able to test your patch as I won't go back to
an older kernel.

Thank,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-03 Thread Oliver Endriss
Gregoire Favre wrote:
 On Thu, Nov 02, 2006 at 07:56:27PM +0100, Oliver Endriss wrote:
 
  I guess there is something missing in the 2.6.19 patch...
 
 Then I have to wait to be able to test your patch as I won't go back to
 an older kernel.

Try this modification (from 2.6.19-rc4-mm2 patch, untested):

snip
--- linux-2.6.19-rc4/drivers/media/dvb/dvb-core/dvb_frontend.c  2006-10-30 
21:39:21.0 -0800
+++ devel/drivers/media/dvb/dvb-core/dvb_frontend.c 2006-11-01 
23:18:22.0 -0800
@@ -34,7 +34,7 @@
 #include linux/module.h
 #include linux/moduleparam.h
 #include linux/list.h
-#include linux/suspend.h
+#include linux/freezer.h
 #include linux/jiffies.h
 #include asm/processor.h
/snip

You could also compare dvb_frontend.c shipped with your kernel with the
one from HG and add the modification to the HG file...

Oliver

-- 

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-03 Thread Gregoire Favre
On Fri, Nov 03, 2006 at 12:57:49PM +0100, Oliver Endriss wrote:

With your patch :
...
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_ir.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400-driver.o
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400-driver.c: In function 
'msp_sleep':
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400-driver.c:406: warning: 
implicit declaration of function 'try_to_freeze'
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400-kthreads.o
...
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-ttpci.o
  Building modules, stage 2.
  MODPOST 26 modules
WARNING: try_to_freeze 
[/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400.ko] undefined!
  CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-ci.mod.o
...

And it seems to works pretty well right now :)

Thank you very much,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-03 Thread e9hack
Oliver Endriss wrote:
 Hi,

 Thanks to Hartmut, I2C transfers of the saa7146 may now use interrupt
 mode. It will be enabled for av7110, budget, budget-ci and budget-av
 drivers. This might reduce cpu load and speed-up tuning.
   
The Cinergy 1200 DVB-C card needs a second patch. The frontend is
accessed to fast after power-on/enable. The non interrupt mode starts a
retry after an address error. This gives the frontend the time for
power-on. The interrupt mode trusts the error logic of the SAA7146 and
doesn't use retries.

- Hartmut



Signed-off-by: Hartmut Birr [EMAIL PROTECTED]

- Added a delay to give the frontend a little bit time for power-on.

diff -r 55496629964b linux/drivers/media/dvb/ttpci/budget-av.c
--- a/linux/drivers/media/dvb/ttpci/budget-av.c	Wed Nov 01 17:09:51 2006 +0100
+++ b/linux/drivers/media/dvb/ttpci/budget-av.c	Fri Nov 03 17:55:16 2006 +0100
@@ -946,6 +946,9 @@ static void frontend_init(struct budget_
 
 	/* Enable / PowerON Frontend */
 	saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO);
+	
+	/* Wait for PowerON */
+	msleep(10);
 
 	/* additional setup necessary for the PLUS cards */
 	switch (saa-pci-subsystem_device) {
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-03 Thread Oliver Endriss
e9hack wrote:
 Oliver Endriss wrote:
  Hi,
 
  Thanks to Hartmut, I2C transfers of the saa7146 may now use interrupt
  mode. It will be enabled for av7110, budget, budget-ci and budget-av
  drivers. This might reduce cpu load and speed-up tuning.

 The Cinergy 1200 DVB-C card needs a second patch. The frontend is
 accessed to fast after power-on/enable. The non interrupt mode starts a
 retry after an address error. This gives the frontend the time for
 power-on. The interrupt mode trusts the error logic of the SAA7146 and
 doesn't use retries.

Thanks. I updated my repositories
- http://linuxtv.org/hg/~endriss/v4l-dvb
- http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring

I'll submit the patches to HG Master on Sunday.

Oliver

-- 

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-03 Thread Oliver Endriss
Gregoire Favre wrote:
 On Fri, Nov 03, 2006 at 12:57:49PM +0100, Oliver Endriss wrote:
 
 With your patch :
 ...
   CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_ir.o
   CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400-driver.o
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400-driver.c: In function 
 'msp_sleep':
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400-driver.c:406: warning: 
 implicit declaration of function 'try_to_freeze'
   CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400-kthreads.o
 ...
   LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-ttpci.o
   Building modules, stage 2.
   MODPOST 26 modules
 WARNING: try_to_freeze 
 [/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/msp3400.ko] undefined!
   CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-ci.mod.o
 ...

Probably the same problem in the msp3400 driver...

 And it seems to works pretty well right now :)

Fine.

CU
Oliver

-- 

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-02 Thread David Härdeman
On Wed, November 1, 2006 22:06, Andrew Lyon said:
 Compeltely unrelated but I use this patch:
 http://koti.welho.com/jkukkone/vdr/v4l-dvb_tt-1500.patch otherwise
 some of the buttons on my technotrend remote do not work, I believe
 the patch breaks other remotes so I dont ever expect it to be merged,
 but will there ever be a better solution to the problem of different
 remotes?

I posted a set of patches (based on the work of Darren Salt) a couple of
weeks ago which add dynamic keymaps which can be changed from userspace
using the regular input-utils.

I need to work a bit on the patchset and resubmit it when I have some more
time.

-- 
David Härdeman


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-02 Thread Oliver Endriss
Gregoire Favre wrote:
 On Wed, Nov 01, 2006 at 02:06:17PM -0800, C.Y.M wrote:
 
 C.Y.M had more luck than I (with the patch to allow 2.6.19 compilation
 applied) :
 
   CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.o
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c: In function 
 'av7110_bootarm':
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of 
 array 'type name' is negative
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: 
 comparison of distinct pointer types lacks a cast
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of 
 array 'type name' is negative
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: 
 comparison of distinct pointer types lacks a cast
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of 
 array 'type name' is negative
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: 
 comparison of distinct pointer types lacks a cast
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of 
 array 'type name' is negative
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: 
 comparison of distinct pointer types lacks a cast
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of 
 array 'type name' is negative
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: 
 comparison of distinct pointer types lacks a cast
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of 
 array 'type name' is negative
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: 
 comparison of distinct pointer types lacks a cast
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of 
 array 'type name' is negative
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: 
 comparison of distinct pointer types lacks a cast
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of 
 array 'type name' is negative
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: 
 comparison of distinct pointer types lacks a cast
 make[2]: *** [/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.o] Error 1
 make[1]: *** [_module_/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.6.19-rc4-mm1'
 make: *** [default] Error 2

Hm - it compiles here without any warnings. ;-(
Maybe some problem with macro expansion.

The attached patch replaces the macros by inline functions.
Does it work now?

Oliver

-- 

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/

diff -r 4a40207ae301 linux/include/media/saa7146.h
--- a/linux/include/media/saa7146.h	Thu Nov  2 13:51:06 2006 +0100
+++ b/linux/include/media/saa7146.h	Thu Nov  2 14:16:08 2006 +0100
@@ -54,20 +54,6 @@ extern unsigned int saa7146_debug;
 #define DEB_INT(x)  if (0!=(DEBUG_VARIABLE0x20)) { DEBUG_PROLOG; printk x; } /* interrupt debug messages */
 #define DEB_CAP(x)  if (0!=(DEBUG_VARIABLE0x40)) { DEBUG_PROLOG; printk x; } /* capture debug messages */
 
-#define SAA7146_IER_DISABLE(x,y) 	\
-	do { \
-		unsigned int flags; 	\
-		spin_lock_irqsave(x-int_slock, flags); 		\
-		saa7146_write(x, IER, saa7146_read(x, IER)  ~(y));	\
-		spin_unlock_irqrestore(x-int_slock, flags);		\
-	} while(0)
-#define SAA7146_IER_ENABLE(x,y)		\
-	do { \
-		unsigned int flags; 	\
-		spin_lock_irqsave(x-int_slock, flags); 		\
-		saa7146_write(x, IER, saa7146_read(x, IER) | (y));	\
-		spin_unlock_irqrestore(x-int_slock, flags);		\
-	} while(0)
 #define SAA7146_ISR_CLEAR(x,y) \
 	saa7146_write(x, ISR, (y));
 
@@ -475,4 +461,20 @@ int saa7146_wait_for_debi_done(struct sa
 #define SAA7146_I2C_BUS_BIT_RATE_80	(0x200)
 #define SAA7146_I2C_BUS_BIT_RATE_60	(0x300)
 
-#endif
+static inline void SAA7146_IER_DISABLE(struct saa7146_dev *x, unsigned y)
+{
+	unsigned long flags;
+	spin_lock_irqsave(x-int_slock, flags);
+	saa7146_write(x, IER, saa7146_read(x, IER)  ~(y));
+	spin_unlock_irqrestore(x-int_slock, flags);
+}
+
+static inline void SAA7146_IER_ENABLE(struct saa7146_dev *x, unsigned y)
+{
+	unsigned long flags;
+	spin_lock_irqsave(x-int_slock, flags);
+	saa7146_write(x, IER, saa7146_read(x, IER) | (y));
+	spin_unlock_irqrestore(x-int_slock, flags);
+}
+
+#endif
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-02 Thread C.Y.M
Oliver Endriss wrote:
 Hm - it compiles here without any warnings. ;-(
 Maybe some problem with macro expansion.
 
 The attached patch replaces the macros by inline functions.
 Does it work now?

That fixed it. It compiles with no warning now, using a 2.6.17.13 kernel.
Thanks!  Seems to be working fine so far with my Nexus-S.

Best Regards.


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-02 Thread Gregoire Favre
On Thu, Nov 02, 2006 at 02:24:52PM +0100, Oliver Endriss wrote:

 Hm - it compiles here without any warnings. ;-(
 Maybe some problem with macro expansion.
 
 The attached patch replaces the macros by inline functions.
 Does it work now?

It compils but I can't use the driver then :

FATAL: Error inserting dvb_core 
(/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting dvb_core 
(/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting stv0299 
(/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/frontends/stv0299.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting dvb_ttpci 
(/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/ttpci/dvb-ttpci.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting dvb_core 
(/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting stv0299 
(/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/frontends/stv0299.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting budget_core 
(/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/ttpci/budget-core.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting budget_ci 
(/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/ttpci/budget-ci.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)

And from dmesg :

dvb_core: Unknown symbol try_to_freeze
Linux video capture interface: v2.00
dvb_core: Unknown symbol try_to_freeze
stv0299: Unknown symbol timeval_usec_diff
stv0299: Unknown symbol dvb_frontend_sleep_until
dvb_ttpci: Unknown symbol dvb_dmxdev_init
dvb_ttpci: Unknown symbol dvb_filter_get_ac3info
dvb_ttpci: Unknown symbol dvb_ringbuffer_empty
dvb_ttpci: Unknown symbol dvb_register_adapter
dvb_ttpci: Unknown symbol dvb_ringbuffer_avail
dvb_ttpci: Unknown symbol dvb_generic_open
dvb_ttpci: Unknown symbol dvb_dmx_swfilter_packets
dvb_ttpci: Unknown symbol dvb_generic_ioctl
dvb_ttpci: Unknown symbol dvb_ringbuffer_read
dvb_ttpci: Unknown symbol dvb_dmx_release
dvb_ttpci: Unknown symbol dvb_unregister_device
dvb_ttpci: Unknown symbol dvb_generic_release
dvb_ttpci: Unknown symbol dvb_net_init
dvb_ttpci: Unknown symbol dvb_dmxdev_release
dvb_ttpci: Unknown symbol dvb_ringbuffer_write
dvb_ttpci: Unknown symbol dvb_frontend_detach
dvb_ttpci: Unknown symbol dvb_ringbuffer_flush_spinlock_wakeup
dvb_ttpci: Unknown symbol dvb_net_release
dvb_ttpci: Unknown symbol dvb_unregister_frontend
dvb_ttpci: Unknown symbol dvb_register_device
dvb_ttpci: Unknown symbol dvb_register_frontend
dvb_ttpci: Unknown symbol stv0299_attach
dvb_ttpci: Unknown symbol dvb_filter_pes2ts_init
dvb_ttpci: Unknown symbol dvb_filter_pes2ts
dvb_ttpci: Unknown symbol dvb_unregister_adapter
dvb_ttpci: Unknown symbol dvb_dmx_init
dvb_ttpci: Unknown symbol dvb_ringbuffer_init
dvb_ttpci: Unknown symbol dvb_ringbuffer_free
dvb_core: Unknown symbol try_to_freeze
stv0299: Unknown symbol timeval_usec_diff
stv0299: Unknown symbol dvb_frontend_sleep_until
budget_core: Unknown symbol dvb_dmxdev_init
budget_core: Unknown symbol dvb_register_adapter
budget_core: Unknown symbol dvb_dmx_swfilter_packets
budget_core: Unknown symbol dvb_dmx_release
budget_core: Unknown symbol dvb_net_init
budget_core: Unknown symbol dvb_dmxdev_release
budget_core: Unknown symbol dvb_net_release
budget_core: Unknown symbol dvb_unregister_adapter
budget_core: Unknown symbol dvb_dmx_init
budget_ci: Unknown symbol dvb_ca_en50221_init
budget_ci: Unknown symbol ttpci_budget_debiwrite
budget_ci: Unknown symbol budget_debug
budget_ci: Unknown symbol ttpci_budget_irq10_handler
budget_ci: Unknown symbol ttpci_budget_deinit
budget_ci: Unknown symbol dvb_ca_en50221_release
budget_ci: Unknown symbol ttpci_budget_set_video_port
budget_ci: Unknown symbol ttpci_budget_debiread
budget_ci: Unknown symbol dvb_ca_en50221_frda_irq
budget_ci: Unknown symbol dvb_frontend_detach
budget_ci: Unknown symbol dvb_ca_en50221_camready_irq
budget_ci: Unknown symbol dvb_unregister_frontend
budget_ci: Unknown symbol dvb_ca_en50221_camchange_irq
budget_ci: Unknown symbol ttpci_budget_init_hooks
budget_ci: Unknown symbol ttpci_budget_init
budget_ci: Unknown symbol dvb_register_frontend
budget_ci: Unknown symbol stv0299_attach
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-02 Thread Oliver Endriss
Gregoire Favre wrote:
 On Thu, Nov 02, 2006 at 02:24:52PM +0100, Oliver Endriss wrote:
 
  Hm - it compiles here without any warnings. ;-(
  Maybe some problem with macro expansion.
  
  The attached patch replaces the macros by inline functions.
  Does it work now?
 
 It compils but I can't use the driver then :
 
 FATAL: Error inserting dvb_core 
 (/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko): 
 Unknown symbol in module, or unknown parameter (see dmesg)
 WARNING: Error inserting dvb_core 
 (/lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko): 
 Unknown symbol in module, or unknown parameter (see dmesg)
 ...
 
 And from dmesg :
 
 dvb_core: Unknown symbol try_to_freeze
 ...

There is something wrong with your dvb-core module.
Afaiks the patches do not affect dvb-core in any way.

Please verify that you are loading the correct module and
there is no warning during compilation.

CU
Oliver

-- 

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-02 Thread Gregoire Favre
On Thu, Nov 02, 2006 at 06:11:24PM +0100, Oliver Endriss wrote:

 There is something wrong with your dvb-core module.
 Afaiks the patches do not affect dvb-core in any way.
 
 Please verify that you are loading the correct module and
 there is no warning during compilation.

I do this :

hg pull -u http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring
patch -p1 -l  2.6.19.diff
patch -p1  saa7146_IER_inline.diff
cd v4l
make distclean 
make xconfig 
in xconfig loaded config-2.6.19-rc4-mm1
save as .config
make
scripts/make_makefile.pl
./scripts/make_myconfig.pl
creating symbolic links...
ln -sf . oss
make -C /lib/modules/2.6.19-rc4-mm1/build 
SUBDIRS=/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l  modules
make[1]: Entering directory `/usr/src/linux-2.6.19-rc4-mm1'
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvbdev.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dmxdev.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_demux.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_filter.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_ca_en50221.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.o
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.c: In function 
'dvb_frontend_thread':
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.c:545: warning: 
implicit declaration of function 'try_to_freeze'
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_net.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_ringbuffer.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_math.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_v4l.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_av.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_ca.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_ipack.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_ir.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_i2c.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_core.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_fops.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_video.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_hlp.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_vbi.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_vv.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/videodev.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/v4l2-common.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/compat_ioctl32.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/v4l1-compat.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/video-buf.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-pll.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/stv0299.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/sp8870.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/tda8083.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/l64781.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ves1820.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ves1x93.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/tda1004x.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/stv0297.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/lnbp21.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-core.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-ci.o
  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ttpci-eeprom.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-ttpci.o
  Building modules, stage 2.
  MODPOST 22 modules
WARNING: try_to_freeze 
[/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.ko] undefined!
  CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-ci.mod.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-ci.ko
  CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-core.mod.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-core.ko
  CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/compat_ioctl32.mod.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/compat_ioctl32.ko
  CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.mod.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.ko
  CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-pll.mod.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-pll.ko
  CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-ttpci.mod.o
  LD [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-ttpci.ko
  CC  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/l64781.mod.o
  LD [M]  

Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-02 Thread Oliver Endriss
Gregoire Favre wrote:
 On Thu, Nov 02, 2006 at 06:11:24PM +0100, Oliver Endriss wrote:
 
  There is something wrong with your dvb-core module.
  Afaiks the patches do not affect dvb-core in any way.
  
  Please verify that you are loading the correct module and
  there is no warning during compilation.
 
 I do this :
 
 hg pull -u http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring
 patch -p1 -l  2.6.19.diff
 patch -p1  saa7146_IER_inline.diff
 cd v4l
 make distclean 
 make xconfig 
 in xconfig loaded config-2.6.19-rc4-mm1
 save as .config
 make
 scripts/make_makefile.pl
 ./scripts/make_myconfig.pl
 creating symbolic links...
 ln -sf . oss
 make -C /lib/modules/2.6.19-rc4-mm1/build 
 SUBDIRS=/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l  modules
 make[1]: Entering directory `/usr/src/linux-2.6.19-rc4-mm1'
 ...
   CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.o
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.c: In function 
 'dvb_frontend_thread':
 /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.c:545: warning: 
 implicit declaration of function 'try_to_freeze'
 ...
   Building modules, stage 2.
   MODPOST 22 modules
 WARNING: try_to_freeze 
 [/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.ko] undefined!
 ...

This is your unresolved symbol.

You should encounter the same problem with the HG Master repository.
The dvb_frontend stuff in my repositories is the same as in HG Master!

I guess there is something missing in the 2.6.19 patch...

Oliver

-- 

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-01 Thread Andrew Lyon

Hi,

Thanks to Hartmut, I2C transfers of the saa7146 may now use interrupt
mode. It will be enabled for av7110, budget, budget-ci and budget-av
drivers. This might reduce cpu load and speed-up tuning.

For testing the changesets are in my repositories:
- http://linuxtv.org/hg/~endriss/v4l-dvb
- http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring

The changesets are:
- 
http://linuxtv.org/hg/~endriss/v4l-dvb?cmd=changeset;node=5db1929d9501;style=gitweb
- 
http://linuxtv.org/hg/~endriss/v4l-dvb?cmd=changeset;node=3e346cd18d78;style=gitweb
- 
http://linuxtv.org/hg/~endriss/v4l-dvb?cmd=changeset;node=55496629964b;style=gitweb

Please test and report any problems if you run devices supported by the
av7110, budget, budget-ci or budget-av drivers.



Tested with Technotrend S1500 budget_ci (with cam), no problems at all.

Compeltely unrelated but I use this patch:
http://koti.welho.com/jkukkone/vdr/v4l-dvb_tt-1500.patch otherwise
some of the buttons on my technotrend remote do not work, I believe
the patch breaks other remotes so I dont ever expect it to be merged,
but will there ever be a better solution to the problem of different
remotes?

Andy




If nobody complains these changesets will be submitted to HG master
next weekend.

Thanks,

Oliver

--

VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-01 Thread C.Y.M
Oliver Endriss wrote:
 Hi,
 
 Thanks to Hartmut, I2C transfers of the saa7146 may now use interrupt
 mode. It will be enabled for av7110, budget, budget-ci and budget-av
 drivers. This might reduce cpu load and speed-up tuning.
 
 For testing the changesets are in my repositories:
 - http://linuxtv.org/hg/~endriss/v4l-dvb
 - http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring
 
 The changesets are:
 - 
 http://linuxtv.org/hg/~endriss/v4l-dvb?cmd=changeset;node=5db1929d9501;style=gitweb
 - 
 http://linuxtv.org/hg/~endriss/v4l-dvb?cmd=changeset;node=3e346cd18d78;style=gitweb
 - 
 http://linuxtv.org/hg/~endriss/v4l-dvb?cmd=changeset;node=55496629964b;style=gitweb
 
 Please test and report any problems if you run devices supported by the
 av7110, budget, budget-ci or budget-av drivers.
 
 If nobody complains these changesets will be submitted to HG master
 next weekend.
 

It seems to build fine, but I am getting the following warnings:

/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110_hw.c: In function `av7110_bootarm':
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110_hw.c:237: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110_hw.c:301: warning: comparison of
distinct pointer types lacks a cast

/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c: In function `start_debi_dma':
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c:359: warning: comparison of distinct
pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c: In function `stop_ts_capture':
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c:1178: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c: In function `start_ts_capture':
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c:1192: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c: In function `av7110_detach':
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c:2703: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c:2718: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c: In function `av7110_irq':
/var/local/linuxtv.cvs/v4l-dvb/v4l/av7110.c:2771: warning: comparison of
distinct pointer types lacks a cast

/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_i2c.c: In function
`saa7146_i2c_writeout':
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_i2c.c:194: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_i2c.c:200: warning: comparison of
distinct pointer types lacks a cast

/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_core.c: In function `interrupt_hw':
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_core.c:277: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_core.c:296: warning: comparison of
distinct pointer types lacks a cast

/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_video.c: In function `video_begin':
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_video.c:766: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_video.c: In function `video_end':
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_video.c:811: warning: comparison of
distinct pointer types lacks a cast

/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_vbi.c: In function `vbi_workaround':
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_vbi.c:95: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_vbi.c:113: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_vbi.c: In function
`saa7146_set_vbi_capture':
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_vbi.c:195: warning: comparison of
distinct pointer types lacks a cast
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_vbi.c: In function `vbi_stop':
/var/local/linuxtv.cvs/v4l-dvb/v4l/saa7146_vbi.c:330: warning: comparison of
distinct pointer types lacks a cast


Best Regards.

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-01 Thread Gregoire Favre
On Wed, Nov 01, 2006 at 02:06:17PM -0800, C.Y.M wrote:

C.Y.M had more luck than I (with the patch to allow 2.6.19 compilation
applied) :

  CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.o
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c: In function 
'av7110_bootarm':
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of 
array 'type name' is negative
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: 
comparison of distinct pointer types lacks a cast
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of 
array 'type name' is negative
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: 
comparison of distinct pointer types lacks a cast
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of 
array 'type name' is negative
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: 
comparison of distinct pointer types lacks a cast
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of 
array 'type name' is negative
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: 
comparison of distinct pointer types lacks a cast
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of 
array 'type name' is negative
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: 
comparison of distinct pointer types lacks a cast
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of 
array 'type name' is negative
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: 
comparison of distinct pointer types lacks a cast
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of 
array 'type name' is negative
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: 
comparison of distinct pointer types lacks a cast
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of 
array 'type name' is negative
/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: 
comparison of distinct pointer types lacks a cast
make[2]: *** [/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.o] Error 1
make[1]: *** [_module_/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-rc4-mm1'
make: *** [default] Error 2
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb