]> 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)
commitf37a449cbe8036caf125ce9aff41635ae3e82957
tree17036a76bef40888a86aa24f2056ffd017157562
parenta55db7cff6627d20d8764f1245c892be73bf20d1
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