Patch for kernel 2.6.29 STR9104NAS

Yohanes Nugroho <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
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 with
new 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 source
code for 2.4.27 from another device by linksys that is alike. I ported
the source code to kernel 2.6.25.4
 9 months ago.

- STR9104 uses Faraday ARM processor (FA-526). This processor is being
used by some other SoCs. I found a linux 2.6.15 for StorLink SoC that
contains 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 it
contains directory for STR910X SoC. I didn't use this code, and it
doesn't work (some other guys also tested it).

- I keep the header files copyright intact, I add my own copyright on
things that I wrote. For example the on the 2.4.27 kernel, the serial
driver is very complicated. After reading it, i found out that it is
just a 8250 with special mapping and a little bit of quirks. The USB
driver was attached to PCI (which wasn't used), etc.

- There are some warnings from checkscript.pl about the usage of
volatile. Replacing this volatile with readl/writel will cause major
changes on the macros defined on the header files, so I just left it
there.

Some of the patch may be very intrusive (an ifdef in 8250.c, and
ehci-hcd.c), I don't know whether to make that as quirks flags or not.

-- 
Regards
Yohanes

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.