summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/rb532-2.6/patches/100-rb5xx_support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rb532-2.6/patches/100-rb5xx_support.patch b/target/linux/rb532-2.6/patches/100-rb5xx_support.patch
index 45c8fe3b9..c5c5ca932 100644
--- a/target/linux/rb532-2.6/patches/100-rb5xx_support.patch
+++ b/target/linux/rb532-2.6/patches/100-rb5xx_support.patch
@@ -245,7 +245,7 @@ diff -urN linux.old/arch/mips/pci/ops-rc32434.c linux.dev/arch/mips/pci/ops-rc32
+ int ret;
+ int delay = 1;
+
-+ if (bus->number == 0 && (devfn >> 3) > 21)
++ if (bus->number == 0 && PCI_SLOT(devfn) > 21)
+ return 0;
+
+retry: