Ian - cheers for the code snippet, should save me some time. I would assume an
#include for tssdcore2.h is needed as well.
Surprised no one has published this as a known good kernel patch against
mainline, although I understand the GPL issues - that being said if I think
about NVIDIA and other hardware device drivers in Linux I'm sure a suitable
compromise *could* have been made!
Unfortunately I do need SD support for this project, if nothing more than to
show some folks the PITA involved in maintaining this ugliness without
widespread community support.
In fact I have a real dilemma with the TS7800 - it's a damn good product but
unfortunately it just doesn't tick all the boxes for our project.
regards
Matt
--- In Ian Thompson <> wrote:
>
> Matt
>
> They probably mean that it's supported in the mainline kernel - that's
> if you don't need SD card support or support for the DOORBELL interrupt
> scheme as required by the TS-ETH100 board. I'm engaged with Alexander
> Clouter on trying to get the latter supported.
>
> The SD card support works with either the micro-SD or the SD card slot.
> Someone can probably get it to support both but the one attached here
> looks at the micro-SD and if it doesn't finds a card, rolls over to the
> SD card.
>
> You'll need tssdcore2.c/h from the .21-ts kernel and the following lines
> adding to ts78xx-setup.c.
>
>
> /*****************************************************************************
> * SD cards
>
> ****************************************************************************/
>
> #warning - Compiling in support for SD Card
> #define TS7XXX_SDCARD1 0xE8000100
>
> static struct resource ts78xx_sdcard_resource = {
> .start = TS7XXX_SDCARD1,
> .end = TS7XXX_SDCARD1 + 0x1f,
> .flags = IORESOURCE_MEM,
> };
>
> static struct platform_device ts78xx_sdcard = {
> .name = "ts72xx-sdcard",
> .id = 0,
> .num_resources = 1,
> .resource = &ts78xx_sdcard_resource,
> };
>
> static void __init ts78xx_register_sdcard(void)
> {
> platform_device_register(&ts78xx_sdcard);
> }
>
>
> I'm running on 2.6.37 now.
>
> Ian T.
>
>
> This e-mail, including any attachments and response string, may contain
> proprietary information which is confidential and may be legally privileged.
> It is for the intended recipient only. If you are not the intended recipient
> or transmission error has misdirected this e-mail, please notify the author
> by return e-mail and delete this message and any attachment immediately. If
> you are not the intended recipient you must not use, disclose, distribute,
> forward, copy, print or rely on this e-mail in any way except as permitted by
> the author.
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|