]> git.openfabrics.org - ~emulex/infiniband.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)
commit3acf4b5cde8123a7a243d9dcd63f3e6990c8e5bb
treed2f657a9854e213f86d2fdea49e133036a5fcda6
parent5e3cc4e3aaeae953c224bbe92f0ea8d90dfb1b63
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