• Hirokazu Takata's avatar
    [PATCH] m32r: SMC91x driver update · f3ac9fbf
    Hirokazu Takata authored
    Update SMC91x driver for m32r.
    
    - Remove needless NONCACHE_OFFSET adjustment.
      > [PATCH 2.6.14-rc4] m32r: NONCACHE_OFFSET in _port2addr
      > Change _port2addr() not to add NONCACHE_OFFSET.
      > Adding NONCACHE_OFFSET requires needless address adjusting by a driver
      > using ioremap() like a SMC91x driver.
    
    - Fix lots of warnings as following:
    /usr/src/ctest/git/kernel/drivers/net/smc91x.c: In function `smc_reset':
    /usr/src/ctest/git/kernel/drivers/net/smc91x.c:324: warning: passing arg 2 of `_outw' makes integer from pointer without a cast
    /usr/src/ctest/git/kernel/drivers/net/smc91x.c:325: warning: passing arg 2 of `_outw' makes integer from pointer without a cast
    /usr/src/ctest/git/kernel/drivers/net/smc91x.c:341: warning: passing arg 2 of `_outw' makes integer from pointer without a cast
    /usr/src/ctest/git/kernel/drivers/net/smc91x.c:342: warning: passing arg 2 of `_outw' makes integer from pointer without a cast
      :
    /usr/src/ctest/git/kernel/drivers/net/smc91x.c:1915: warning: passing arg 1 of `_inw' makes integer from pointer without a cast
    /usr/src/ctest/git/kernel/drivers/net/smc91x.c:1915: warning: passing arg 1 of `_inw' makes integer from pointer without a cast
    Signed-off-by: default avatarHayato Fujiwara <fujiwara@linux-m32r.org>
    Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    f3ac9fbf
smc91x.h 32.7 KB