]> git.baikalelectronics.ru Git - kernel.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)
commita5244b0b58848c20379ceafe3d5779c2bec0ed32
tree6c89206bf6d1aedf67c87ff2737eba8021733cda
parentd0db9263001ba7c97eddbbc66b9d05e592b32bc0
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