From: Pekka Enberg Date: Thu, 12 May 2005 23:38:47 +0000 (-0400) Subject: [PATCH] 8139too: use iomap for pio/mmio X-Git-Tag: v2.6.14-rc2~49^2~36^2~53^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f714b64b55012fa4e0d77132fa82719180f994;p=pandora-kernel.git [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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed