libertas_sdio on at91sam9263

Marc Pignat marc.pignat at hevs.ch
Tue Dec 18 08:27:52 EST 2007


On Tuesday 18 December 2007, Hans-Jürgen Koch wrote:
> Am Tue, 18 Dec 2007 11:39:00 +0100
> schrieb Marc Pignat <marc.pignat at hevs.ch>:
...
> Hmm, yes, but looking at at91_mci.c, I guess it should show an
> "Unsupported block size" error message and then fail. Can't remember I
> ever saw that.
Probably because the firmware loading fails :-D

> 
> > 
> > Please note that the at91_mci driver can be fixed for at91sam series,
> > but not for at91rm9200... I think the better way is to always round
> > data transfer size, this will introduce a very small overhead, but
> > the libertas_sdio driver will work with more sd hosts.
> 
> Agreed, but where would you do that? Loading the firmware doesn't seem
> to be handled by libertas_sdio itself, it just calls request_firmware().
nack, the request_firmware functions loads the firmware from userspace to
the system memory...

size could be rounded up in if_sdio_card_to_host and if_sdio_host_to_card
functions.

Unfortunately I use an older version, I will try to sync with the latest this
week.

Regards

Marc



More information about the libertas-dev mailing list