alistair23-linux/arch/ppc
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
..
4xx_io
8xx_io [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
8260_io Remove pointless casts from void pointers 2008-02-06 10:41:01 -08:00
boot [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
configs [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
kernel [PPC] 8xx: swap bug-fix 2008-03-07 16:56:54 -06:00
lib
mm CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
platforms ppc/hdpu: remove dead IDE code 2008-04-18 00:46:28 +02:00
syslib ppc/mpc8xx: remove ppc_ide_md hooks 2008-04-18 00:46:29 +02:00
xmon [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
.gitignore
Kconfig ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
Kconfig.debug
Makefile [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00