setup.c (e2eb63927bfcb54232163bfec32440246fd44457) setup.c (6cfef5b27e49e826125f12637ee0d7210a896044)
1/*
2 * Maple (970 eval board) setup code
3 *
4 * (c) Copyright 2004 Benjamin Herrenschmidt (benh@kernel.crashing.org),
5 * IBM Corp.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

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

259
260 BUG_ON(openpic_addr == 0);
261
262 /* Check for a big endian MPIC */
263 if (of_get_property(np, "big-endian", NULL) != NULL)
264 flags |= MPIC_BIG_ENDIAN;
265
266 /* XXX Maple specific bits */
1/*
2 * Maple (970 eval board) setup code
3 *
4 * (c) Copyright 2004 Benjamin Herrenschmidt (benh@kernel.crashing.org),
5 * IBM Corp.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

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

259
260 BUG_ON(openpic_addr == 0);
261
262 /* Check for a big endian MPIC */
263 if (of_get_property(np, "big-endian", NULL) != NULL)
264 flags |= MPIC_BIG_ENDIAN;
265
266 /* XXX Maple specific bits */
267 flags |= MPIC_BROKEN_U3 | MPIC_WANTS_RESET;
267 flags |= MPIC_U3_HT_IRQS | MPIC_WANTS_RESET;
268 /* All U3/U4 are big-endian, older SLOF firmware doesn't encode this */
269 flags |= MPIC_BIG_ENDIAN;
270
271 /* Setup the openpic driver. More device-tree junks, we hard code no
272 * ISUs for now. I'll have to revisit some stuffs with the folks doing
273 * the firmware for those
274 */
275 mpic = mpic_alloc(mpic_node, openpic_addr, flags,

--- 69 unchanged lines hidden ---
268 /* All U3/U4 are big-endian, older SLOF firmware doesn't encode this */
269 flags |= MPIC_BIG_ENDIAN;
270
271 /* Setup the openpic driver. More device-tree junks, we hard code no
272 * ISUs for now. I'll have to revisit some stuffs with the folks doing
273 * the firmware for those
274 */
275 mpic = mpic_alloc(mpic_node, openpic_addr, flags,

--- 69 unchanged lines hidden ---