Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294749
b: refs/heads/master
c: b9c40b0
h: refs/heads/master
i:
  294747: 9d53814
v: v3
  • Loading branch information
Bjorn Helgaas committed Feb 24, 2012
1 parent e24a832 commit fbb0592
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 673c975624895c4db2edff32601d9c6475b2d39e
refs/heads/master: b9c40b076c9d247494f91521e3beff9422cd1173
6 changes: 3 additions & 3 deletions trunk/arch/unicore32/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/io.h>
#include <asm-generic/pci-bridge.h>

static int debug_pci;
static int use_firmware;

#define CONFIG_CMD(bus, devfn, where) \
(0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
Expand Down Expand Up @@ -276,7 +276,7 @@ static int __init pci_common_init(void)

pci_fixup_irqs(pci_common_swizzle, pci_puv3_map_irq);

if (!use_firmware) {
if (!pci_has_flag(PCI_PROBE_ONLY)) {
/*
* Size the bridge windows.
*/
Expand All @@ -303,7 +303,7 @@ char * __devinit pcibios_setup(char *str)
debug_pci = 1;
return NULL;
} else if (!strcmp(str, "firmware")) {
use_firmware = 1;
pci_add_flags(PCI_PROBE_ONLY);
return NULL;
}
return str;
Expand Down

0 comments on commit fbb0592

Please sign in to comment.