Skip to content

Commit

Permalink
[PATCH] 8139too: use iomap for pio/mmio
Browse files Browse the repository at this point in the history
  
  This patch converts the 8139too driver to use the iomap infrastructure
  for PIO and MMIO instead of playing macro tricks.  I also had to fix
  read_eeprom(), mdio_sync(), mdio_read(), and mdio_write() to not pass
  PIO base address to MMIO read() and write() functions.  In addition,
  the patch adds proper __iomem annotations for the driver.
  
  Both modes, PIO and MMIO, were tested with a RealTel RTL8139 card on
  an x86 box.  The 8129 support remains untested due to lack of
  hardware.
  
  Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
  Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Pekka Enberg authored and Jeff Garzik committed May 12, 2005
1 parent 88d7bd8 commit 22f714b
Showing 1 changed file with 87 additions and 107 deletions.
Loading

0 comments on commit 22f714b

Please sign in to comment.