]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
smc91x: sh solution engine fixes.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 1 Jun 2007 08:36:48 +0000 (17:36 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 3 Jun 2007 15:44:21 +0000 (11:44 -0400)
commit6026ee67eda769122be535e8f05be438dfdcb29a
tree2a6cad5a95a4d8d7dc8f780e6a5bdb725ea51eee
parent416b5d10afdc797c21c457ade3714e8f2f75edd9
smc91x: sh solution engine fixes.

The current smc91x I/O routines ifdef the solution engine subtypes
individually, which is rather bogus, as they can simply use
CONFIG_SOLUTION_ENGINE instead. This fixes it for some of the other
solution engines that weren't included in the ifdef list (SH7206
specifically).

There are also inb/outb definitions which are totally bogus (missing
brackets in _both_ cases, SMC_CAN_USE_8BIT == 0, and even better, they
try to use a 16-bit access to fake 8-bit access). Kill that nonsense off
completely.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
--

 drivers/net/smc91x.h |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/smc91x.h