diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2005-02-01 15:18:59 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:20 -0400 |
commit | aa0980b8090878bf42bc73a13d051a203a201d7d (patch) | |
tree | c4e411d4100a6006b0bc2945742b0ab2fa10b2e5 /arch/mips/pci/ops-gt64120.c | |
parent | bec0204dfb35cd5b91c0b34f97a481f363f6b272 (diff) |
Fixes for system controllers for Atlas/Malta core cards.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/ops-gt64120.c')
-rw-r--r-- | arch/mips/pci/ops-gt64120.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/pci/ops-gt64120.c b/arch/mips/pci/ops-gt64120.c index 7b99dfa33dfc..6335844d607a 100644 --- a/arch/mips/pci/ops-gt64120.c +++ b/arch/mips/pci/ops-gt64120.c | |||
@@ -1,6 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * Carsten Langgaard, carstenl@mips.com | 2 | * Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc. |
3 | * Copyright (C) 1999, 2000 MIPS Technologies, Inc. All rights reserved. | 3 | * All rights reserved. |
4 | * Authors: Carsten Langgaard <carstenl@mips.com> | ||
5 | * Maciej W. Rozycki <macro@mips.com> | ||
4 | * | 6 | * |
5 | * This program is free software; you can distribute it and/or modify it | 7 | * This program is free software; you can distribute it and/or modify it |
6 | * under the terms of the GNU General Public License (Version 2) as | 8 | * under the terms of the GNU General Public License (Version 2) as |
@@ -43,10 +45,6 @@ static int gt64120_pcibios_config_access(unsigned char access_type, | |||
43 | unsigned char busnum = bus->number; | 45 | unsigned char busnum = bus->number; |
44 | u32 intr; | 46 | u32 intr; |
45 | 47 | ||
46 | if ((busnum == 0) && (PCI_SLOT(devfn) == 0)) | ||
47 | /* Galileo itself is devfn 0, don't move it around */ | ||
48 | return -1; | ||
49 | |||
50 | if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0))) | 48 | if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0))) |
51 | return -1; /* Because of a bug in the galileo (for slot 31). */ | 49 | return -1; /* Because of a bug in the galileo (for slot 31). */ |
52 | 50 | ||