2010-03-02 03:17:24

by Soohyung Cho

[permalink] [raw]
Subject: About libertas spi driver

Hello.

We developed a s3c2442-based custom board and
it has WM-G-MR-09 wireless lan chip connected with spi interface.

I added spi_register_board_info to our mach-xxx.c like cm-x270.c
and I included libertas spi modules.

When the board starts, if_spi_init_module function is called but
if_spi_probe function is never called.

Do I miss something?
Any help will be appreciated.


2010-03-02 05:52:09

by Andrey Yurovsky

[permalink] [raw]
Subject: Re: About libertas spi driver

Hi Soohyung,

On Mon, Mar 1, 2010 at 7:17 PM, Soohyung Cho <[email protected]> wrote:
> Hello.
>
> We developed a s3c2442-based custom board and
> it has WM-G-MR-09 wireless lan chip connected with spi interface.
>
> I added spi_register_board_info to our mach-xxx.c like cm-x270.c
> and I included libertas spi modules.
>
> When the board starts, if_spi_init_module function is called but
> if_spi_probe function is never called.
>
> Do I miss something?
> Any help will be appreciated.

Did you follow the instructions at the bottom of this page?
http://wireless.kernel.org/en/users/Drivers/libertas

Namely you need to define platform resources for your Libertas GSPI
device in your board file. The driver then needs to be registered
with the platform_device bus.

-Andrey