Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750835AbWE2N7M (ORCPT ); Mon, 29 May 2006 09:59:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750854AbWE2N7M (ORCPT ); Mon, 29 May 2006 09:59:12 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:60375 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S1750835AbWE2N7L (ORCPT ); Mon, 29 May 2006 09:59:11 -0400 Subject: Re: [v4l-dvb-maintainer] Re: Stradis driver conflicts with all other SAA7146 drivers From: Mauro Carvalho Chehab To: Michael Hunold Cc: Christer Weinigel , v4l-dvb maintainer list , linux-kernel@vger.kernel.org, video4linux-list@redhat.com, Jiri Slaby , Nathan Laredo In-Reply-To: <447AFA88.1010700@linuxtv.org> References: <44799D24.7050301@gmail.com> <1148825088.1170.45.camel@praia> <1148837483.1170.65.camel@praia> <1148841654.1170.70.camel@praia> <447AED3B.4070708@linuxtv.org> <1148909606.1170.94.camel@praia> <447AFA88.1010700@linuxtv.org> Content-Type: text/plain; charset=ISO-8859-1 Date: Mon, 29 May 2006 10:58:59 -0300 Message-Id: <1148911139.1170.99.camel@praia> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1-2mdk Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1695 Lines: 44 Em Seg, 2006-05-29 ?s 15:43 +0200, Michael Hunold escreveu: > Hi, > > on 29.05.2006 15:33 Mauro Carvalho Chehab said the following: > > On bttv and other boards, were we have such conflicts, we have an option > > to specify what board is used (called card). When the driver locates a > > board without PCI subvendor ID, it shows a help msg at dmesg and exits > > (or load a generic handler). The user may then use card=xx (where xx is > > the number of the board). IMHO, this is the better for saa7146 boards. > > bttv is a monolithic driver for all devices using Bt8x8 chipsets, > whereas saa7146 and saa7146_vv only hold the core infrastructure that is > common for all saa7146 cards. > > saa7146 does not know anything about a card, but the so-called extension > driver (like mxb, hexium_orion or dpc7146) does. It holds the PCI IDs > and is responsible for telling the system what card it supports and do > any probing if necessary. > > I don't know where to put the card=xx parameter in that case, because > the hexium_orion does not know mxb nor dpc7146. 8-( > > Since these cards don't have subvendor/subdevice IDs, it's impossible to > find out which card is in the system. We have two tasks: 1) Integrate your code and Nathan one; 2) create a generic handler for all saa7146 boards, moving all PCI probe to the newer module. After detecting the card number, it should request the specific module. > > CU > Michael. Cheers, Mauro. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/