]> git.baikalelectronics.ru Git - kernel.git/commit
dl2k: stop using net_device.{base_addr, irq} and convert to __iomem.
authorFrancois Romieu <romieu@fr.zoreil.com>
Fri, 9 Mar 2012 17:09:35 +0000 (18:09 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Sat, 7 Apr 2012 09:47:17 +0000 (11:47 +0200)
commitb553c4ab40575853b9d134df628b2ada034087ee
tree17036a76bef40888a86aa24f2056ffd017157562
parent41c7f279d6da531a59ebe8e39f65bfb7ee846932
dl2k: stop using net_device.{base_addr, irq} and convert to __iomem.

The eeprom registers always use the same PCI bar whereas the general
registers may either use the same mapping as the eeprom registers or
a different one. It is thus possible to simplify parse_eeprom().

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/ethernet/dlink/dl2k.c
drivers/net/ethernet/dlink/dl2k.h