On Tue, 2010-12-07 at 15:19 +0000, Hayes Wang wrote:
Please do not make source files executable.
[...]
This line should use __le32 not u32 to make it clearer which byte order
is being used.
[...]
I think should validate the action types before starting. Otherwise it
could begin loading the firmware and then abort (without even returning
an error code) which would be worse than not loading it at all.
Other than that, this is good, especially the addition of comments for
some of the register initialisation sequences.
Ben.
--
Ben Hutchings, Debian Developer and kernel team member