Skip to content

Commit

Permalink
uli526x: stop using net_device.{base_addr, irq} and convert to __iomem.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Francois Romieu committed Apr 7, 2012
1 parent 5e3cc4e commit 3acf4b5
Showing 1 changed file with 202 additions and 195 deletions.
Loading

0 comments on commit 3acf4b5

Please sign in to comment.