]> err.no Git - linux-2.6/commit
myri10ge: use ioremap_wc
authorBrice Goglin <brice@myri.com>
Mon, 21 Jul 2008 08:26:25 +0000 (10:26 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 20:09:13 +0000 (16:09 -0400)
commitc7f80993a38f0354a8ad821bcd9335b47a464357
tree5e62576a1268133fca95eeb0ef61a267a5a5d963
parente454e7e2e3afbcdc002ed55a087a14e8b057519d
myri10ge: use ioremap_wc

Switch to ioremap_wc(). We keep the MTRR code since ioremap_wc()
will use UC_MINUS when falling back to uncachable, and thus let
the MTRR WC take precedence.

Also rename the error path better.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/myri10ge/myri10ge.c