From: Christer Weinigel <christer@weinigel.se>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Christer Weinigel <christer@weinigel.se>,
Nathan Laredo <laredo@gnu.org>,
linux-kernel@vger.kernel.org, video4linux-list@redhat.com,
Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: Stradis driver conflicts with all other SAA7146 drivers
Date: 28 May 2006 19:17:46 +0200 [thread overview]
Message-ID: <m3odxihxvp.fsf@zoo.weinigel.se> (raw)
In-Reply-To: <4479D167.4020203@gmail.com>
Jiri Slaby <jirislaby@gmail.com> writes:
> Christer Weinigel napsal(a):
> > fixed in the driver. If the card doesn't have a subvendor/subdevice,
> > is there some way of doing a sanity check on the board to see if it
> > actually is a stradis card and then release the board if it isn't?
> Unfortunately not.
Why not? There's an I2C bus with a bunch of devices on it. Isn't it
possible to do an I2C scan and if it doesn't match what's supposed to
be on the card fail the probe and release the PCI resources?
If there is no FPGA or the FPGA fails to respond, that should also be
a fairly good indicator that it is not a stradis board.
And it seems that at least some of the cards have a value in the
subvendor field since the driver says "SDM2xx found" if
pdev->subsystem_vendor is nonzero. So how common are the rev1 boards
(which I assume have zeroes in the subvendor/subdevice fields) and
what does "lspci -vn" for the SDM2xx boards say?
/Christer
--
"Just how much can I get away with and still go to heaven?"
Freelance consultant specializing in device driver programming for Linux
Christer Weinigel <christer@weinigel.se> http://www.weinigel.se
next prev parent reply other threads:[~2006-05-28 17:17 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-28 12:33 Stradis driver conflicts with all other SAA7146 drivers Christer Weinigel
2006-05-28 12:53 ` Jiri Slaby
2006-05-28 14:04 ` Mauro Carvalho Chehab
2006-05-28 16:01 ` Nathan Laredo
2006-05-28 16:17 ` Jiri Slaby
2006-05-28 17:31 ` Mauro Carvalho Chehab
2006-05-28 17:58 ` Christer Weinigel
2006-05-28 18:40 ` Mauro Carvalho Chehab
2006-05-29 12:46 ` [v4l-dvb-maintainer] " Michael Hunold
2006-05-29 13:33 ` Mauro Carvalho Chehab
2006-05-29 13:43 ` Michael Hunold
2006-05-29 13:58 ` Mauro Carvalho Chehab
2006-05-29 14:38 ` Gerd Hoffmann
2006-05-31 14:01 ` Alan Cox
2006-05-31 14:29 ` Arjan van de Ven
2006-05-29 12:44 ` Michael Hunold
2006-05-29 22:51 ` Christer Weinigel
2006-05-28 16:02 ` Christer Weinigel
2006-05-28 16:36 ` Jiri Slaby
2006-05-28 17:17 ` Christer Weinigel [this message]
2006-05-28 17:36 ` Jiri Slaby
2006-05-28 17:46 ` matthieu castet
2006-05-28 20:29 ` Jiri Slaby
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=m3odxihxvp.fsf@zoo.weinigel.se \
--to=christer@weinigel.se \
--cc=jirislaby@gmail.com \
--cc=laredo@gnu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=video4linux-list@redhat.com \
/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