kernel-ark/arch/ppc/syslib
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
..
btext.c
cpc700_pic.c
cpc700.h
cpm2_common.c
cpm2_pic.c
cpm2_pic.h
gen550_dbg.c
gen550_kgdb.c
gen550.h
gt64260_pic.c
harrier.c
hawk_common.c
i8259.c
ibm44x_common.c
ibm44x_common.h
ibm440gp_common.c
ibm440gp_common.h
ibm440gx_common.c
ibm440gx_common.h
ibm440sp_common.c
ibm440sp_common.h
ibm_ocp.c
indirect_pci.c
m8xx_setup.c
m8xx_wdt.c
m8xx_wdt.h
m82xx_pci.c
m82xx_pci.h
m8260_pci_erratum9.c
m8260_setup.c
Makefile
mpc8xx_devices.c
mpc8xx_sys.c
mpc10x_common.c
mpc52xx_devices.c
mpc52xx_pci.c
mpc52xx_pci.h
mpc52xx_pic.c
mpc52xx_setup.c
mpc52xx_sys.c
mv64x60_dbg.c
mv64x60_win.c
mv64x60.c
mv64360_pic.c
ocp.c
open_pic2.c
open_pic_defs.h
open_pic.c
pci_auto.c
ppc4xx_dma.c
ppc4xx_pic.c
ppc4xx_setup.c
ppc4xx_sgdma.c
ppc8xx_pic.c
ppc8xx_pic.h
ppc403_pic.c
ppc405_pci.c
ppc440spe_pcie.c
ppc440spe_pcie.h
ppc_sys.c
pq2_devices.c
pq2_sys.c
prep_nvram.c
qspan_pci.c
todc_time.c
virtex_devices.c
virtex_devices.h
xilinx_pic.c