diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 |
| commit | 857c68f733eea07f11a061caea43a38fed61adb7 (patch) | |
| tree | 4567a9e91f717b22143ac1ccb0fb5323ac15afd3 /arch/powerpc/platforms/chrp/setup.c | |
| parent | 4741c336d27dec3ea68a35659abb8dc82b142388 (diff) | |
| parent | 402a26f0c040077ed6f941eefac5a6971f0d5f40 (diff) | |
Merge branch 'master'
Diffstat (limited to 'arch/powerpc/platforms/chrp/setup.c')
| -rw-r--r-- | arch/powerpc/platforms/chrp/setup.c | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/arch/powerpc/platforms/chrp/setup.c b/arch/powerpc/platforms/chrp/setup.c index 23a201718704..18d89f38796b 100644 --- a/arch/powerpc/platforms/chrp/setup.c +++ b/arch/powerpc/platforms/chrp/setup.c | |||
| @@ -440,8 +440,6 @@ void __init chrp_init_IRQ(void) | |||
| 440 | 440 | ||
| 441 | if (_chrp_type == _CHRP_Pegasos) | 441 | if (_chrp_type == _CHRP_Pegasos) |
| 442 | ppc_md.get_irq = i8259_irq; | 442 | ppc_md.get_irq = i8259_irq; |
| 443 | else | ||
| 444 | ppc_md.get_irq = mpic_get_irq; | ||
| 445 | 443 | ||
| 446 | #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(XMON) | 444 | #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(XMON) |
| 447 | /* see if there is a keyboard in the device tree | 445 | /* see if there is a keyboard in the device tree |
| @@ -528,26 +526,24 @@ static int __init chrp_probe(void) | |||
| 528 | /* Assume we have an 8259... */ | 526 | /* Assume we have an 8259... */ |
| 529 | __irq_offset_value = NUM_ISA_INTERRUPTS; | 527 | __irq_offset_value = NUM_ISA_INTERRUPTS; |
| 530 | 528 | ||
| 531 | ppc_md.setup_arch = chrp_setup_arch; | 529 | return 1; |
| 532 | ppc_md.show_cpuinfo = chrp_show_cpuinfo; | ||
| 533 | |||
| 534 | ppc_md.init_IRQ = chrp_init_IRQ; | ||
| 535 | ppc_md.init = chrp_init2; | ||
| 536 | |||
| 537 | ppc_md.phys_mem_access_prot = pci_phys_mem_access_prot; | ||
| 538 | |||
| 539 | ppc_md.restart = rtas_restart; | ||
| 540 | ppc_md.power_off = rtas_power_off; | ||
| 541 | ppc_md.halt = rtas_halt; | ||
| 542 | |||
| 543 | ppc_md.time_init = chrp_time_init; | ||
| 544 | ppc_md.calibrate_decr = generic_calibrate_decr; | ||
| 545 | |||
| 546 | /* this may get overridden with rtas routines later... */ | ||
| 547 | ppc_md.set_rtc_time = chrp_set_rtc_time; | ||
| 548 | ppc_md.get_rtc_time = chrp_get_rtc_time; | ||
| 549 | |||
| 550 | #ifdef CONFIG_SMP | ||
| 551 | smp_ops = &chrp_smp_ops; | ||
| 552 | #endif /* CONFIG_SMP */ | ||
| 553 | } | 530 | } |
| 531 | |||
| 532 | define_machine(chrp) { | ||
| 533 | .name = "CHRP", | ||
| 534 | .probe = chrp_probe, | ||
| 535 | .setup_arch = chrp_setup_arch, | ||
| 536 | .init = chrp_init2, | ||
| 537 | .show_cpuinfo = chrp_show_cpuinfo, | ||
| 538 | .init_IRQ = chrp_init_IRQ, | ||
| 539 | .get_irq = mpic_get_irq, | ||
| 540 | .pcibios_fixup = chrp_pcibios_fixup, | ||
| 541 | .restart = rtas_restart, | ||
| 542 | .power_off = rtas_power_off, | ||
| 543 | .halt = rtas_halt, | ||
| 544 | .time_init = chrp_time_init, | ||
| 545 | .set_rtc_time = chrp_set_rtc_time, | ||
| 546 | .get_rtc_time = chrp_get_rtc_time, | ||
| 547 | .calibrate_decr = generic_calibrate_decr, | ||
| 548 | .phys_mem_access_prot = pci_phys_mem_access_prot, | ||
| 549 | }; | ||
