]> git.karo-electronics.de Git - mv-sheeva.git/commit
[PATCH] 8139too: use iomap for pio/mmio
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 12 May 2005 23:38:47 +0000 (19:38 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 12 May 2005 23:38:47 +0000 (19:38 -0400)
commit22f714b64b55012fa4e0d77132fa82719180f994
treedf18ecd5eafced6d770d6a15163743c08d9376d9
parent88d7bd8cb9eb8d64bf7997600b0d64f7834047c5
  [PATCH] 8139too: use iomap for pio/mmio

  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>
drivers/net/8139too.c