1
0
Files
linux/drivers/char
Dirk Eibach 01cfaf0d12 [PATCH] char/moxa.c: fix endianess and multiple-card issues
While testing Moxa C218T/PCI on PowerPC 405EP I found that loading firmware
using the linux kernel driver fails because calculation of the checksum is
not endianess independent in the original code.

After I fixed this I found that uploading firmware in a system with
multiple cards causes a kernel oops.  I had a look in the recent moxa
sources and found that they do some kind of locking there.  Applying this
lock fixed the problem.

Alan sayeth:

  Checksum changes are clearly correct.  Other changes is an improvement but
  not I think enough to handle malicious firmware attacks.  That said such an
  attacker has CAP_SYS_RAWIO anyway so that part is irrelevant except for
  neatness.

[akpm@osdl.org: cleanups]
Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-08-27 11:01:29 -07:00
..
2006-08-06 08:57:46 -07:00
2006-07-14 21:53:55 -07:00
2006-08-15 11:17:22 +02:00
2006-01-01 22:21:50 +01:00
2006-03-28 16:45:26 +11:00
2006-03-28 09:16:08 -08:00
2006-06-28 14:59:05 -07:00
2006-07-12 12:52:55 -07:00
2006-01-12 09:09:00 -08:00
2006-01-10 08:01:59 -08:00