android_kernel_xiaomi_sm8350/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 [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpc700.h [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpm2_common.c [POWERPC] Change rheap functions to use ulongs instead of pointers 2007-05-09 23:01:43 -05:00
cpm2_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpm2_pic.h [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
gen550_dbg.c
gen550_kgdb.c
gen550.h
gt64260_pic.c [POWERPC] arch/ppc: Remove duplicate includes 2007-12-20 17:13:50 +11:00
harrier.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
hawk_common.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
i8259.c [POWERPC] i8259: Add disable method 2007-11-08 14:15:29 +11:00
ibm44x_common.c
ibm44x_common.h
ibm440gp_common.c
ibm440gp_common.h
ibm440gx_common.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ibm440gx_common.h
ibm440sp_common.c
ibm440sp_common.h
ibm_ocp.c [POWERPC] Fix compile breakage for IBM/AMCC 4xx arch/ppc platforms 2007-06-02 21:01:56 +10:00
indirect_pci.c [POWERPC] Pass the pci_controller into pci_exclude_device 2007-06-29 01:57:22 -05:00
m8xx_setup.c ppc/mpc8xx: remove ppc_ide_md hooks 2008-04-18 00:46:29 +02:00
m8xx_wdt.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
m8xx_wdt.h
m82xx_pci.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
m82xx_pci.h
m8260_pci_erratum9.c [POWERPC] ppc: use syslog macro for the printk log level 2007-02-08 15:29:22 +11:00
m8260_setup.c [POWERPC] Fix build break in arch/ppc/syslib/m8260_setup.c 2007-11-08 14:15:29 +11:00
Makefile [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
mpc8xx_devices.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
mpc8xx_sys.c
mpc10x_common.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
mpc52xx_devices.c
mpc52xx_pci.c
mpc52xx_pci.h
mpc52xx_pic.c [POWERPC] arch/ppc: Remove duplicate includes 2007-12-20 17:13:50 +11:00
mpc52xx_setup.c [POWERPC] Add common clock setting routine mpc52xx_psc_set_clkdiv() 2008-01-26 15:32:18 -07:00
mpc52xx_sys.c
mv64x60_dbg.c
mv64x60_win.c
mv64x60.c [I2C] i2c-mv64xxx: Don't set i2c_adapter.retries 2008-01-26 15:04:01 +00:00
mv64360_pic.c [POWERPC] arch/ppc: Remove duplicate includes 2007-12-20 17:13:50 +11:00
ocp.c [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
open_pic2.c Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
open_pic_defs.h
open_pic.c Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
pci_auto.c
ppc4xx_dma.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
ppc4xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc4xx_setup.c ppc/ppc4xx: remove ppc_ide_md hooks 2008-04-18 00:46:28 +02:00
ppc4xx_sgdma.c Merge branch 'linux-2.6' 2007-05-08 13:37:51 +10:00
ppc8xx_pic.c [POWERPC] arch/ppc/: Spelling fixes 2007-12-20 16:17:47 +11:00
ppc8xx_pic.h [POWERPC] 8xx: Rename m8xx_pic_init to mpc8xx_pics_init 2008-01-28 08:31:00 -06:00
ppc403_pic.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
ppc405_pci.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
ppc440spe_pcie.c
ppc440spe_pcie.h
ppc_sys.c [POWERPC] arch/ppc/: Spelling fixes 2007-12-20 16:17:47 +11:00
pq2_devices.c
pq2_sys.c [PPC] MCC2 missing in MPC826x device_list 2007-05-17 21:10:17 +10:00
prep_nvram.c
qspan_pci.c potential parse error in ifdef part 3 2007-06-08 17:23:33 -07:00
todc_time.c
virtex_devices.c [POWERPC] virtex bug fix: Use canonical value for AC97 interrupt xparams 2007-12-07 11:43:55 +11:00
virtex_devices.h [POWERPC] XilinxFB: Move xilinxfb_platform_data definition to a shared header file 2007-10-03 07:23:16 -05:00
xilinx_pic.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00