Bartlomiej Zolnierkiewicz 2661b13a21 ppc/mpc8xx: remove ppc_ide_md hooks
* Initialize IDE ports in mpc8xx_ide_probe().

* Remove m8xx_ide_init() and ppc_ide_md hooks - no need for them
  (IDE mpc8xx host driver takes care of all this setup).

* Remove needless 'if (irq)' and 'if (data_port >= MAX_HWIFS)' checks
  from m8xx_ide_init_hwif_ports().

* Remove 'ctrl_port' and 'irq' arguments from m8xx_ide_init_hwif_ports().

* Rename m8xx_ide_init_hwif_ports() to m8xx_ide_init_ports().

* Add __init tag to m8xx_ide_init_ports().

This patch fixes hwif->irq always being overriden to 0 (== auto-probe, is
this even working on PPC?) because of ide_init_default_irq() call in ide.c.

There should be no other functional changes.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Vitaly Bordug <vitb@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-04-18 00:46:29 +02:00
..
2006-07-03 23:30:54 +02:00
2006-10-10 11:55:25 +10:00
2006-10-10 11:55:25 +10:00
2006-10-10 11:55:25 +10:00
2006-10-10 11:55:25 +10:00
2007-05-12 11:32:49 +10:00
2007-11-08 14:15:29 +11:00
2006-10-10 11:55:25 +10:00
2008-01-28 08:33:10 -06:00
2008-01-28 08:33:10 -06:00
2008-01-31 11:25:51 +11:00
2006-10-10 11:55:25 +10:00
2007-05-08 13:37:51 +10:00
2007-12-20 16:17:47 +11:00