···11/*22- * Carsten Langgaard, carstenl@mips.com33- * Copyright (C) 1999, 2000 MIPS Technologies, Inc. All rights reserved.22+ * Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc.33+ * All rights reserved.44+ * Authors: Carsten Langgaard <carstenl@mips.com>55+ * Maciej W. Rozycki <macro@mips.com>46 *57 * This program is free software; you can distribute it and/or modify it68 * under the terms of the GNU General Public License (Version 2) as···1917 *2018 * MIPS boards specific PCI support.2119 */2222-#include <linux/config.h>2320#include <linux/types.h>2421#include <linux/pci.h>2522#include <linux/kernel.h>···5756 /* We number bus 0 devices from 0..21 */5857 return -1;5958 }6060-6161-#ifdef CONFIG_MIPS_BOARDS_GEN6262- if ((busnum == 0) && (PCI_SLOT(devfn) == 17)) {6363- /* MIPS Core boards have Bonito connected as device 17 */6464- return -1;6565- }6666-#endif67596860 /* Clear cause register bits */6961 BONITO_PCICMD |= (BONITO_PCICMD_MABORT_CLR |
+4-6
arch/mips/pci/ops-gt64120.c
···11/*22- * Carsten Langgaard, carstenl@mips.com33- * Copyright (C) 1999, 2000 MIPS Technologies, Inc. All rights reserved.22+ * Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc.33+ * All rights reserved.44+ * Authors: Carsten Langgaard <carstenl@mips.com>55+ * Maciej W. Rozycki <macro@mips.com>46 *57 * This program is free software; you can distribute it and/or modify it68 * under the terms of the GNU General Public License (Version 2) as···4442{4543 unsigned char busnum = bus->number;4644 u32 intr;4747-4848- if ((busnum == 0) && (PCI_SLOT(devfn) == 0))4949- /* Galileo itself is devfn 0, don't move it around */5050- return -1;51455246 if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0)))5347 return -1; /* Because of a bug in the galileo (for slot 31). */