ne: MIPS: Use platform_driver for ne on RBTX49XX
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 30 Apr 2007 15:27:58 +0000 (00:27 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 8 May 2007 05:23:09 +0000 (01:23 -0400)
commit57e386ce9d136261bc60a5223f39b179a3c11046
treeec7c47c0bbe8e60b589dc5055732f1d097202cdd
parent1c08bf10658921dafae8d66be0effc915a209ab0
ne: MIPS: Use platform_driver for ne on RBTX49XX

This patch lets RBTX49XX boards use generic platform_driver interface
for the ne driver.

* Use platform_device to pass ioaddr and irq to the ne driver.
* Remove unnecessary ifdefs for RBTX49XX from the ne driver.
* Make the ne driver selectable on these boards regardless of CONFIG_ISA

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
arch/mips/tx4938/toshiba_rbtx4938/setup.c
drivers/net/Kconfig
drivers/net/ne.c