Re: [PATCH] [0904_14] Siano: assemble all components to one kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





--- On Mon, 4/20/09, Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> wrote:

> From: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
> Subject: Re: [PATCH] [0904_14] Siano: assemble all components to one kernel module
> To: "Uri Shkolnik" <urishk@xxxxxxxxx>
> Cc: "LinuxML" <linux-media@xxxxxxxxxxxxxxx>
> Date: Monday, April 20, 2009, 11:50 PM
> On Mon, 20 Apr 2009 11:16:32 -0700
> (PDT)
> Uri Shkolnik <urishk@xxxxxxxxx>
> wrote:
> 
> > > From: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
> > > Subject: Re: [PATCH] [0904_14] Siano: assemble
> all components to one kernel module
> > > To: "Uri Shkolnik" <urishk@xxxxxxxxx>
> > > Cc: "LinuxML" <linux-media@xxxxxxxxxxxxxxx>
> > > Date: Monday, April 20, 2009, 9:03 PM
> > > On Sun, 5 Apr 2009 04:42:11 -0700
> > > (PDT)
> > > Uri Shkolnik <urishk@xxxxxxxxx>
> > > wrote:
> > > 
> > > > 
> > > > # HG changeset patch
> > > > # User Uri Shkolnik <uris@xxxxxxxxxxxx>
> > > > # Date 1238756860 -10800
> > > > # Node ID
> 616e696ce6f0c0d76a1aaea8b36e0345112c5ab6
> > > > # Parent 
> > > f65a29f0f9a66f82a91525ae0085a15f00ac91c2
> > > > [PATCH] [0904_14] Siano: assemble all
> components to
> > > one kernel module
> > > > 
> > > > From: Uri Shkolnik <uris@xxxxxxxxxxxx>
> > > > 
> > > > Previously, the support for Siano-based
> devices
> > > > has been combined from several kernel
> modules. 
> > > > This patch assembles all into single kernel
> module.
> > > 
> > > Why? It seems better to keep it more modular.
> > > 
> > > Cheers,
> > > Mauro
> > > 
> > 
> > The driver remains as modular as it was before
> (regarding sources files).
> > Why to load smsusb.ko and than load smsdvb.ko and than
> load usbcore.ko? (and ir and endian... and...)
> > 
> > The driver handles any device (or devices) with Siano
> silicon on it, simple as that.
> > 
> > The new build method (Makefile and Kconfig) after the
> patches (yet to be fully submitted), build the driver to
> match the system it targets. (If USB exist than it builds
> the USB interface driver (otherwise it doesn't) and links it
> to the single module, same for SDIO, and any other interface
> driver, same for any clients and any other component).
> 
> Before seeing the other patches, it is hard for me to
> manifest, but, IMO, it is
> better to have the BUS configurable, e. g. just because you
> have USB interface,
> it doesn't mean that you want siano for USB, instead of
> using SDIO.
> 
> Cheers,
> Mauro
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-media" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


"better to have the BUS configurable, e. g. just because you have USB interface, it doesn't mean that you want siano for USB, instead of using SDIO."

Since the module is using dynamic registration, I don't find it a problem.
When the system has both USB and SDIO buses, both USB and SDIO interface driver will be compiled and linked to the module. When a Siano based device (or multiple Siano devices) will be connected, they will be register internally in the core and activated. Any combination is allow (multiple SDIO, multiple USB and any mix).


Regards,

Uri


      
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux