From: Jean Delvare <khali@linux-fr.org>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Trent Piepho <xyzzy@speakeasy.org>,
V4L and DVB maintainers <v4l-dvb-maintainer@linuxtv.org>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: zr36067 no longer loads automatically (regression)
Date: Fri, 9 Jan 2009 12:43:57 +0100 [thread overview]
Message-ID: <20090109124357.549acef6@hyperion.delvare> (raw)
In-Reply-To: <20090109092018.59a6d9eb@pedra.chehab.org>
On Fri, 9 Jan 2009 09:20:18 -0200, Mauro Carvalho Chehab wrote:
>
> On Thu, 8 Jan 2009 22:01:08 -0800 (PST)
> Trent Piepho <xyzzy@speakeasy.org> wrote:
>
> > On Thu, 8 Jan 2009, Mauro Carvalho Chehab wrote:
> > > On Thu, 8 Jan 2009 13:20:19 -0800 (PST)
> > > Trent Piepho <xyzzy@speakeasy.org> wrote:
> > > > On Thu, 8 Jan 2009, Mauro Carvalho Chehab wrote:
> > > > It doesn't seem like any other driver needs to protect the module device
> > > > table with an ifdef.
> > >
> > > However, Zoran driver doesn't rely on pci_register_driver(). Instead, it uses a
> > > while() loop to probe for Zoran devices:
> > >
> > > static int __devinit
> > > find_zr36057 (void)
> > > {
> > > ...
> > >
> > > zoran_num = 0;
> > > while (zoran_num < BUZ_MAX &&
> > > (dev = pci_get_device(PCI_VENDOR_ID_ZORAN, PCI_DEVICE_ID_ZORAN_36057, dev)) != NULL) {
> > > ...
> > > }
> >
> > Yuck, why don't we fix this instead?
>
> This will be much better.
>
> > Here's an initial test. I haven't yet found my dc10+ to test it with.
>
> Unfortunately, I don't have any Zoran card here to test.
>
> Jean, it is up to you to test Trent's patch.
Will do as soon as I manage to apply it.
--
Jean Delvare
next prev parent reply other threads:[~2009-01-09 11:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090108143315.2b564dfe@hyperion.delvare>
[not found] ` <20090108175627.0ebd9f36@pedra.chehab.org>
[not found] ` <Pine.LNX.4.58.0901081319340.1626@shell2.speakeasy.net>
[not found] ` <20090108193923.580fcd5b@pedra.chehab.org>
[not found] ` <Pine.LNX.4.58.0901082156270.1626@shell2.speakeasy.net>
2009-01-09 11:20 ` zr36067 no longer loads automatically (regression) Mauro Carvalho Chehab
2009-01-09 11:43 ` Jean Delvare [this message]
2009-01-09 20:12 ` Trent Piepho
2009-01-09 20:20 ` Trent Piepho
2009-01-10 9:42 ` Jean Delvare
2009-01-09 20:28 ` Jean Delvare
2009-01-10 13:56 ` Jean Delvare
[not found] ` <20090109100531.01cb952c@hyperion.delvare>
[not found] ` <Pine.LNX.4.58.0901090112060.1626@shell2.speakeasy.net>
2009-01-09 11:22 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090109124357.549acef6@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=v4l-dvb-maintainer@linuxtv.org \
--cc=xyzzy@speakeasy.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox