• P
    [PATCH] 8139too: use iomap for pio/mmio · 22f714b6
    Pekka Enberg 提交于
      
      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: NPekka Enberg <penberg@cs.helsinki.fi>
    Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
    22f714b6
8139too.c 69.6 KB