projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/kernel: enable CONFIG_INPUT_KEYBOARD for gpio-keys
[openwrt.git]
/
target
/
linux
/
ifxmips
/
files
/
arch
/
mips
/
pci
/
pci-ifxmips.c
diff --git
a/target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c
b/target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c
index
64f37d5
..
6ff765e
100644
(file)
--- a/
target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c
+++ b/
target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c
@@
-54,6
+54,10
@@
static struct pci_controller ifxmips_pci_controller =
u32 ifxmips_pci_mapped_cfg;
int ifxmips_pci_external_clock = 0;
u32 ifxmips_pci_mapped_cfg;
int ifxmips_pci_external_clock = 0;
+/* Since the PCI REQ pins can be reused for other functionality, make it possible
+ to exclude those from interpretation by the PCI controller */
+int ifxmips_pci_req_mask = 0xf;
+
static int __init
ifxmips_pci_set_external_clk(char *str)
{
static int __init
ifxmips_pci_set_external_clk(char *str)
{
@@
-126,7
+130,7
@@
ifxmips_pci_startup(void)
/* enable external 2 PCI masters */
temp_buffer = ifxmips_r32(PCI_CR_PC_ARB);
/* enable external 2 PCI masters */
temp_buffer = ifxmips_r32(PCI_CR_PC_ARB);
- temp_buffer &= (~(
0xf
<< 16));
+ temp_buffer &= (~(
ifxmips_pci_req_mask
<< 16));
/* enable internal arbiter */
temp_buffer |= (1 << INTERNAL_ARB_ENABLE_BIT);
/* enable internal PCI master reqest */
/* enable internal arbiter */
temp_buffer |= (1 << INTERNAL_ARB_ENABLE_BIT);
/* enable internal PCI master reqest */
This page took
0.024053 seconds
and
4
git commands to generate.