Skip to contentSkip to conversation

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

PATCH Uri Shkolnik 2 participants 2 messages Apr 20, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw
Quoted 22 lines · Mauro Carvalho Chehab

From: Mauro Carvalho Chehab <[email protected]>
Subject: Re: [PATCH] [0904_14] Siano: assemble all components to one kernel module
To: "Uri Shkolnik" <[email protected]>
Cc: "LinuxML" <[email protected]>
Date: Monday, April 20, 2009, 9:03 PM
On Sun, 5 Apr 2009 04:42:11 -0700
(PDT)
Uri Shkolnik <[email protected]>

Quoted 6 lines · wrote:

# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1238756860 -10800
# Node ID 616e696ce6f0c0d76a1aaea8b36e0345112c5ab6 # Parent

f65a29f0f9a66f82a91525ae0085a15f00ac91c2

Quoted 1 line

[PATCH] [0904_14] Siano: assemble all components to

one kernel module

Quoted 3 lines

From: Uri Shkolnik <[email protected]>

Quoted 9 lines
Quoted 3 lines

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).

Regards,

Uri

#1 lore raw
Quoted 32 lines · On Mon, 20 Apr 2009 11:16:32 -0700 (PDT) Uri Shkolnik <[email protected]> wrote:
Quoted 22 lines

From: Mauro Carvalho Chehab <[email protected]>
Subject: Re: [PATCH] [0904_14] Siano: assemble all components to one kernel module
To: "Uri Shkolnik" <[email protected]>
Cc: "LinuxML" <[email protected]>
Date: Monday, April 20, 2009, 9:03 PM
On Sun, 5 Apr 2009 04:42:11 -0700
(PDT)
Uri Shkolnik <[email protected]>

Quoted 6 lines · wrote:

# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1238756860 -10800
# Node ID 616e696ce6f0c0d76a1aaea8b36e0345112c5ab6 # Parent

f65a29f0f9a66f82a91525ae0085a15f00ac91c2

Quoted 1 line

[PATCH] [0904_14] Siano: assemble all components to

one kernel module

Quoted 3 lines

From: Uri Shkolnik <[email protected]>

Quoted 9 lines
Quoted 3 lines

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

Quoted 6 lines

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