setup.c (38fd2c202a3d82bc12430bce5789fa2c2a406f71) setup.c (dd5732850e3dad3c578cf1523e7d3581cf5a815f)
1/*
2 * Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org>
3 * Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org>
4 * Copyright (C) 2006 Michael Buesch <m@bues.ch>
5 * Copyright (C) 2010 Waldemar Brodkorb <wbx@openadk.org>
6 * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 196 unchanged lines hidden (view full) ---

205{
206 struct cpuinfo_mips *c = &current_cpu_data;
207
208 if (c->cputype == CPU_74K) {
209 printk(KERN_INFO "bcm47xx: using bcma bus\n");
210#ifdef CONFIG_BCM47XX_BCMA
211 bcm47xx_bus_type = BCM47XX_BUS_TYPE_BCMA;
212 bcm47xx_register_bcma();
1/*
2 * Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org>
3 * Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org>
4 * Copyright (C) 2006 Michael Buesch <m@bues.ch>
5 * Copyright (C) 2010 Waldemar Brodkorb <wbx@openadk.org>
6 * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 196 unchanged lines hidden (view full) ---

205{
206 struct cpuinfo_mips *c = &current_cpu_data;
207
208 if (c->cputype == CPU_74K) {
209 printk(KERN_INFO "bcm47xx: using bcma bus\n");
210#ifdef CONFIG_BCM47XX_BCMA
211 bcm47xx_bus_type = BCM47XX_BUS_TYPE_BCMA;
212 bcm47xx_register_bcma();
213 bcm47xx_set_system_type(bcm47xx_bus.bcma.bus.chipinfo.id);
213#endif
214 } else {
215 printk(KERN_INFO "bcm47xx: using ssb bus\n");
216#ifdef CONFIG_BCM47XX_SSB
217 bcm47xx_bus_type = BCM47XX_BUS_TYPE_SSB;
218 bcm47xx_register_ssb();
214#endif
215 } else {
216 printk(KERN_INFO "bcm47xx: using ssb bus\n");
217#ifdef CONFIG_BCM47XX_SSB
218 bcm47xx_bus_type = BCM47XX_BUS_TYPE_SSB;
219 bcm47xx_register_ssb();
220 bcm47xx_set_system_type(bcm47xx_bus.ssb.chip_id);
219#endif
220 }
221
222 _machine_restart = bcm47xx_machine_restart;
223 _machine_halt = bcm47xx_machine_halt;
224 pm_power_off = bcm47xx_machine_halt;
225 bcm47xx_board_detect();
226}

--- 18 unchanged lines hidden ---
221#endif
222 }
223
224 _machine_restart = bcm47xx_machine_restart;
225 _machine_halt = bcm47xx_machine_halt;
226 pm_power_off = bcm47xx_machine_halt;
227 bcm47xx_board_detect();
228}

--- 18 unchanged lines hidden ---