]> git.baikalelectronics.ru Git - kernel.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)
commit021b45a33bf2cb58043126a3f59dc3915cb39c8d
tree2a6cad5a95a4d8d7dc8f780e6a5bdb725ea51eee
parent347ca723ee3e5fa1b8bd2f5efc60f3fcb4e2b8a2
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