]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[netdrvr starfire] fix highmem and broken firmware issues
authorIon Badulescu <ionut@badula.org>
Tue, 4 Oct 2005 02:31:36 +0000 (22:31 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 4 Oct 2005 02:31:36 +0000 (22:31 -0400)
commit67974231d4354fe26aaa39a3153b5c0945b94858
tree14eccea7e68aed055aff5847b8dfdb32500aece0
parent32fa2bfcf882f8901ca206e33b0d8975cc8e89a2
[netdrvr starfire] fix highmem and broken firmware issues

Unfortunately, [your patch] might address the crash but doesn't address
the real problem. It turns out that the problem is one of padding
(the firmware cksum engine works only on 32-bit chunks, yuck), so
the special casing for length == 1 wasn't sufficient anyway.

This patch addresses the issue, as well the other issue of i386 +
CONFIG_HIGHMEM being broken. It is pretty much the same workaround
that Adaptec themselves used in their Windows driver. I have yet to
check if it fixes the problem when the skb is non-linear, but this
patch _will_ solve the problem for 99% of the users out there (those
not using sendfile).

Signed-off-by: Ion Badulescu <ionut@badula.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/starfire.c