From: James S. <jsi...@us...> - 2002-05-01 18:07:56
|
Update of /cvsroot/linuxconsole/ruby/linux/arch/ppc/platforms In directory usw-pr-cvs1:/tmp/cvs-serv3020/linux/arch/ppc/platforms Modified Files: chrp_setup.c pmac_setup.c pplus_setup.c prep_setup.c sandpoint_setup.c Log Message: Synced against 2.5.11 Index: chrp_setup.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/arch/ppc/platforms/chrp_setup.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- chrp_setup.c 16 Apr 2002 17:41:48 -0000 1.2 +++ chrp_setup.c 1 May 2002 18:07:49 -0000 1.3 @@ -415,33 +415,6 @@ ppc_md.progress(" Have fun! ", 0x7777); } -#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) -/* - * IDE stuff. - */ - -static int __chrp -chrp_ide_check_region(ide_ioreg_t from, unsigned int extent) -{ - return check_region(from, extent); -} - -static void __chrp -chrp_ide_request_region(ide_ioreg_t from, - unsigned int extent, - const char *name) -{ - request_region(from, extent, name); -} - -static void __chrp -chrp_ide_release_region(ide_ioreg_t from, - unsigned int extent) -{ - release_region(from, extent); -} -#endif - /* * One of the main thing these mappings are needed for is so that * xmon can get to the serial port early on. We probably should @@ -534,12 +507,6 @@ #ifdef CONFIG_SMP ppc_md.smp_ops = &chrp_smp_ops; #endif /* CONFIG_SMP */ - -#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) - ppc_ide_md.ide_check_region = chrp_ide_check_region; - ppc_ide_md.ide_request_region = chrp_ide_request_region; - ppc_ide_md.ide_release_region = chrp_ide_release_region; -#endif /* * Print the banner, then scroll down so boot progress Index: pmac_setup.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/arch/ppc/platforms/pmac_setup.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pmac_setup.c 14 Mar 2002 22:32:22 -0000 1.1 +++ pmac_setup.c 1 May 2002 18:07:50 -0000 1.2 @@ -560,45 +560,6 @@ pmac_power_off(); } - -#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) -/* - * IDE stuff. - */ -static int __pmac -pmac_ide_check_region(ide_ioreg_t from, unsigned int extent) -{ -#ifdef CONFIG_BLK_DEV_IDE_PMAC - if (pmac_ide_check_base(from) >= 0) - return 0; -#endif - return check_region(from, extent); -} - -static void __pmac -pmac_ide_request_region(ide_ioreg_t from, - unsigned int extent, - const char *name) -{ -#ifdef CONFIG_BLK_DEV_IDE_PMAC - if (pmac_ide_check_base(from) >= 0) - return; -#endif - request_region(from, extent, name); -} - -static void __pmac -pmac_ide_release_region(ide_ioreg_t from, - unsigned int extent) -{ -#ifdef CONFIG_BLK_DEV_IDE_PMAC - if (pmac_ide_check_base(from) >= 0) - return; -#endif - release_region(from, extent); -} -#endif /* defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) */ - /* * Read in a property describing some pieces of memory. */ @@ -714,12 +675,6 @@ ppc_md.find_end_of_memory = pmac_find_end_of_memory; ppc_md.feature_call = pmac_do_feature_call; - -#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) - ppc_ide_md.ide_check_region = pmac_ide_check_region; - ppc_ide_md.ide_request_region = pmac_ide_request_region; - ppc_ide_md.ide_release_region = pmac_ide_release_region; -#endif /* defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) */ #ifdef CONFIG_BOOTX_TEXT ppc_md.progress = pmac_progress; Index: pplus_setup.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/arch/ppc/platforms/pplus_setup.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pplus_setup.c 14 Mar 2002 22:32:22 -0000 1.1 +++ pplus_setup.c 1 May 2002 18:07:50 -0000 1.2 @@ -245,27 +245,6 @@ } } -static int -pplus_ide_check_region(ide_ioreg_t from, unsigned int extent) -{ - return check_region(from, extent); -} - -static void -pplus_ide_request_region(ide_ioreg_t from, - unsigned int extent, - const char *name) -{ - request_region(from, extent, name); -} - -static void -pplus_ide_release_region(ide_ioreg_t from, - unsigned int extent) -{ - release_region(from, extent); -} - static void __init pplus_ide_init_hwif_ports (hw_regs_t *hw, ide_ioreg_t data_port, ide_ioreg_t ctrl_port, int *irq) { @@ -510,9 +489,6 @@ #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) ppc_ide_md.default_irq = pplus_ide_default_irq; ppc_ide_md.default_io_base = pplus_ide_default_io_base; - ppc_ide_md.ide_check_region = pplus_ide_check_region; - ppc_ide_md.ide_request_region = pplus_ide_request_region; - ppc_ide_md.ide_release_region = pplus_ide_release_region; ppc_ide_md.ide_init_hwif = pplus_ide_init_hwif_ports; #endif Index: prep_setup.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/arch/ppc/platforms/prep_setup.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- prep_setup.c 14 Mar 2002 22:32:22 -0000 1.1 +++ prep_setup.c 1 May 2002 18:07:50 -0000 1.2 @@ -74,6 +74,7 @@ extern void rs_nvram_write_val(int addr, unsigned char val); extern void ibm_prep_init(void); + extern void prep_find_bridges(void); extern char saved_command_line[]; @@ -721,27 +722,6 @@ return 0; } } - -static int __prep -prep_ide_check_region(ide_ioreg_t from, unsigned int extent) -{ - return check_region(from, extent); -} - -static void __prep -prep_ide_request_region(ide_ioreg_t from, - unsigned int extent, - const char *name) -{ - request_region(from, extent, name); -} - -static void __prep -prep_ide_release_region(ide_ioreg_t from, - unsigned int extent) -{ - release_region(from, extent); -} #endif #ifdef CONFIG_SMP @@ -904,9 +884,6 @@ #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) ppc_ide_md.default_irq = prep_ide_default_irq; ppc_ide_md.default_io_base = prep_ide_default_io_base; - ppc_ide_md.ide_check_region = prep_ide_check_region; - ppc_ide_md.ide_request_region = prep_ide_request_region; - ppc_ide_md.ide_release_region = prep_ide_release_region; #endif #ifdef CONFIG_SMP Index: sandpoint_setup.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/arch/ppc/platforms/sandpoint_setup.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- sandpoint_setup.c 14 Mar 2002 22:32:22 -0000 1.1 +++ sandpoint_setup.c 1 May 2002 18:07:50 -0000 1.2 @@ -480,29 +480,6 @@ return sandpoint_ide_regbase[index]; } -static int -sandpoint_ide_check_region(ide_ioreg_t from, unsigned int extent) -{ - return check_region(from, extent); -} - -static void -sandpoint_ide_request_region(ide_ioreg_t from, - unsigned int extent, - const char *name) -{ - request_region(from, extent, name); - return; -} - -static void -sandpoint_ide_release_region(ide_ioreg_t from, - unsigned int extent) -{ - release_region(from, extent); - return; -} - static void __init sandpoint_ide_init_hwif_ports(hw_regs_t *hw, ide_ioreg_t data_port, ide_ioreg_t ctrl_port, int *irq) @@ -660,9 +637,6 @@ #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) ppc_ide_md.default_irq = sandpoint_ide_default_irq; ppc_ide_md.default_io_base = sandpoint_ide_default_io_base; - ppc_ide_md.ide_check_region = sandpoint_ide_check_region; - ppc_ide_md.ide_request_region = sandpoint_ide_request_region; - ppc_ide_md.ide_release_region = sandpoint_ide_release_region; ppc_ide_md.ide_init_hwif = sandpoint_ide_init_hwif_ports; #endif |