All of lore.kernel.org
 help / color / mirror / Atom feed
From: Devin Heitmueller <dheitmueller@kernellabs.com>
To: Andy Walls <awalls@radix.net>
Cc: Ben Hutchings <ben@decadent.org.uk>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH 10/75] V4L/DVB: declare MODULE_FIRMWARE for modules using XC2028 and XC3028L tuners
Date: Sat, 7 Nov 2009 20:44:57 -0500	[thread overview]
Message-ID: <829197380911071744q50fc6e18o527322e1120b9689@mail.gmail.com> (raw)
In-Reply-To: <1257644240.6895.5.camel@palomino.walls.org>

On Sat, Nov 7, 2009 at 8:37 PM, Andy Walls <awalls@radix.net> wrote:
> On Sat, 2009-11-07 at 21:47 +0000, Ben Hutchings wrote:
>> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
>> ---
>> I'm not really sure whether it's better to do this in the drivers which
>> specify which firmware file to use, or just once in the xc2028 tuner
>> driver.  Your call.
>>
>> Ben.
>
> Ben,
>
> I would suspect it's better left in the xc2028 tuner driver module.
>
> Rationale:
>
> a. it will be consistent with other modules like the cx25840 module.
> ivtv and cx23885 load the cx25840 module yet the MODULE_FIRMWARE
> advertisement for the CX2584[0123] or CX2388[578] A/V core firmware is
> in the cx25840 module.
>
> b. not every ivtv or cx18 supported TV card, for example, needs the
> XCeive tuner chip firmware, so it's not a strict requirement for those
> modules.  It is a strict(-er) requirement for the xc2028 module.
>
> My $0.02
>
> Regards,
> Andy

It's not clear to me what this MODULE_FIRMWARE is going to be used
for, but if it's for some sort of module dependency system, then it
definitely should *not* be a dependency for em28xx.  There are lots of
em28xx based devices that do not use the xc3028, and those users
should not be expected to go out and find/extract the firmware for
some tuner they don't have.

Also, how does this approach handle the situation where there are two
different possible firmwares depending on the card using the firmware.
 As in the example above, you the xc3028 can require either the xc3028
or xc3028L firmware depending on the board they have.  Does this
change now result in both firmware images being required?

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

  reply	other threads:[~2009-11-08  1:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-07 21:47 [PATCH 10/75] V4L/DVB: declare MODULE_FIRMWARE for modules using XC2028 and XC3028L tuners Ben Hutchings
2009-11-08  1:37 ` Andy Walls
2009-11-08  1:44   ` Devin Heitmueller [this message]
2009-11-08  2:02     ` Andy Walls
2009-11-08  2:03     ` Ben Hutchings
2009-11-08  3:20       ` Mauro Carvalho Chehab
2009-11-08 23:32         ` hermann pitton
2009-11-09  0:43           ` Mauro Carvalho Chehab
2009-11-09  2:02             ` hermann pitton
2009-11-09 11:37               ` Mauro Carvalho Chehab
2009-11-09 23:53                 ` hermann pitton
2009-11-10  0:19                   ` hermann pitton

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=829197380911071744q50fc6e18o527322e1120b9689@mail.gmail.com \
    --to=dheitmueller@kernellabs.com \
    --cc=awalls@radix.net \
    --cc=ben@decadent.org.uk \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.