Return-path: Received: from bombadil.infradead.org ([18.85.46.34]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1K3ekP-0006Zn-Hc for linux-dvb@linuxtv.org; Wed, 04 Jun 2008 00:12:53 +0200 Date: Tue, 3 Jun 2008 19:12:40 -0300 From: Mauro Carvalho Chehab To: e9hack Message-ID: <20080603191240.1ece7f28@gaivota> In-Reply-To: <48457545.6060509@gmail.com> References: <48457545.6060509@gmail.com> Mime-Version: 1.0 Cc: linux-dvb@linuxtv.org Subject: Re: [linux-dvb] [BUG] Firmware loading of FF cards is broken List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: On Tue, 03 Jun 2008 18:45:57 +0200 e9hack wrote: > Hi, > > changsets 7973/7958 break the firmware loading of the TT-C2300 card. I get the following > message: > > Linux video capture interface: v2.00 > saa7146: register extension 'dvb'. > ACPI: PCI Interrupt 0000:04:06.0[A] -> Link [LNKA] -> GSI 18 (level, low) -> IRQ 21 > saa7146: found saa7146 @ mem f98f6c00 (revision 1, irq 21) (0x13c2,0x000a). > dvb-ttpci: crc32 of dpram file does not match. > ACPI: PCI interrupt for device 0000:04:06.0 disabled > > It seems, that get_unaligned_be32() is broken. The definition in compat.h is: > > #define get_unaligned_be32(a) \ > be32_to_cpu(get_unaligned((unsigned short *)(a))) > > 'unsigned short *' is wrong. It should be 'unsigned long *'. > > put_unaligned_be32(), get_unaligned_le32() and put_unaligned_le32() are also wrong. Argh! cut-and-past error. Sorry. I've just commit a fix about this. Please test. Cheers, Mauro _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb