]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sis900: stop using net_device.{base_addr, irq} and convert to __iomem.
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 13 Mar 2012 10:14:17 +0000 (11:14 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Sat, 7 Apr 2012 09:47:18 +0000 (11:47 +0200)
commit57d6d456cfb89264f87d24f52640ede23fdf12bd
tree6c89206bf6d1aedf67c87ff2737eba8021733cda
parent5820e97a299e502e71dd5587ed2bf63a75d4f4f7
sis900: stop using net_device.{base_addr, irq} and convert to __iomem.

- pci_resource_start() can be removed from sis900_get_mac_addr() because
  the IO range is maped and stored into the device private struct early
  in the device probe function.
- the driver contains a few direct accesses to low IO ports that forbid
  to re(#)define the usual out{l, w, b} macros.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Daniele Venzano <venza@brownhat.org>
drivers/net/ethernet/sis/sis900.c