]> git.baikalelectronics.ru Git - kernel.git/commit
uli526x: stop using net_device.{base_addr, irq} and convert to __iomem.
authorFrancois Romieu <romieu@fr.zoreil.com>
Sat, 10 Mar 2012 10:50:03 +0000 (11:50 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Sat, 7 Apr 2012 09:47:17 +0000 (11:47 +0200)
commitd6f09e6fecf812f0b29de4be10d42be8b55fb8de
treed2f657a9854e213f86d2fdea49e133036a5fcda6
parentf37a449cbe8036caf125ce9aff41635ae3e82957
uli526x: stop using net_device.{base_addr, irq} and convert to __iomem.

The bulk of the patch comes from the __iomem changes.

- the phy read and write operations were carrying the chip id deep
  down the call chain. Let's waste a pointer and contain the flying
  spaghetti monster.
- phy_{read, write}_1bit only need to access the DCR9 register. The loss
  of generality here should not hurt.
- removed a leftover printk of the EISA era. This is a pure PCI device.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
drivers/net/ethernet/dec/tulip/uli526x.c