Patch for kernel 2.6.29 STR9104NAS

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


Hi All,
I’ve finally updated my patch to 2.6.29, the patch can be downloaded from:
http://tinyhack.com/agestar/patch-2.6.29-star.gz
and the config file:
http://tinyhack.com/agestar/config-2.6.29-star
I've fixed hundreds of small things since the 2.6.25.4, to comply withnew API (many small things, such as dev->priv, to netdev_priv(dev)),adjust machine name, and try to check the patch with checkpatch.pl(convert C++ style comments, delete-trailing-backspace, use LIdent,etc).
Anyone care to test/review my patch?
Some notes:- There is no Datasheet/specification for STR9104 SoC. I got a sourcecode for 2.4.27 from another device by linksys that is alike. I portedthe source code to kernel 2.6.25.4 9 months ago.
- STR9104 uses Faraday ARM processor (FA-526). This processor is beingused by some other SoCs. I found a linux 2.6.15 for StorLink SoC thatcontains support for this FA526 for kernel 2.6.
- Few months ago, someone pointed to me a device based on STR8132 SoC.The vendor provided linux 2.6.16 source code, and surprisingly itcontains directory for STR910X SoC. I didn't use this code, and itdoesn't work (some other guys also tested it).
- I keep the header files copyright intact, I add my own copyright onthings that I wrote. For example the on the 2.4.27 kernel, the serialdriver is very complicated. After reading it, i found out that it isjust a 8250 with special mapping and a little bit of quirks. The USBdriver was attached to PCI (which wasn't used), etc.
- There are some warnings from checkscript.pl about the usage ofvolatile. Replacing this volatile with readl/writel will cause majorchanges on the macros defined on the header files, so I just left itthere.
Some of the patch may be very intrusive (an ifdef in 8250.c, andehci-hcd.c), I don't know whether to make that as quirks flags or not.
-- RegardsYohanes
-------------------------------------------------------------------List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-armFAQ:        http://www.arm.linux.org.uk/mailinglists/faq.phpEtiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter