grackle.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | grackle.c (e6f6390ab7b9d649c13de2c8a591bce61a10ec3b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Functions for setting up and using a MPC106 northbridge 4 * Extracted from arch/powerpc/platforms/powermac/pci.c. 5 * 6 * Copyright (C) 2003 Benjamin Herrenschmuidt (benh@kernel.crashing.org) 7 * Copyright (C) 1997 Paul Mackerras (paulus@samba.org) 8 */ 9#include <linux/kernel.h> 10#include <linux/pci.h> 11#include <linux/init.h> | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Functions for setting up and using a MPC106 northbridge 4 * Extracted from arch/powerpc/platforms/powermac/pci.c. 5 * 6 * Copyright (C) 2003 Benjamin Herrenschmuidt (benh@kernel.crashing.org) 7 * Copyright (C) 1997 Paul Mackerras (paulus@samba.org) 8 */ 9#include <linux/kernel.h> 10#include <linux/pci.h> 11#include <linux/init.h> |
12#include <linux/of.h> |
|
12 13#include <asm/io.h> | 13 14#include <asm/io.h> |
14#include <asm/prom.h> | |
15#include <asm/pci-bridge.h> 16#include <asm/grackle.h> 17 18#define GRACKLE_CFA(b, d, o) (0x80 | ((b) << 8) | ((d) << 16) \ 19 | (((o) & ~3) << 24)) 20 21#define GRACKLE_PICR1_STG 0x00000040 22#define GRACKLE_PICR1_LOOPSNOOP 0x00000010 --- 40 unchanged lines hidden --- | 15#include <asm/pci-bridge.h> 16#include <asm/grackle.h> 17 18#define GRACKLE_CFA(b, d, o) (0x80 | ((b) << 8) | ((d) << 16) \ 19 | (((o) & ~3) << 24)) 20 21#define GRACKLE_PICR1_STG 0x00000040 22#define GRACKLE_PICR1_LOOPSNOOP 0x00000010 --- 40 unchanged lines hidden --- |