diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-19 22:06:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-19 22:06:09 +0000 |
commit | cb75ece87cd712a58aa47cd33f59268784b4d07f (patch) | |
tree | fc1efc686a87215ba965bb1c27ccbdca47dac688 /target/linux/rb532-2.6 | |
parent | e8258da96486cb06f8f08d7f116b8aa669ce35a8 (diff) | |
download | mtk-20170518-cb75ece87cd712a58aa47cd33f59268784b4d07f.zip mtk-20170518-cb75ece87cd712a58aa47cd33f59268784b4d07f.tar.gz mtk-20170518-cb75ece87cd712a58aa47cd33f59268784b4d07f.tar.bz2 |
cosmetic fix: make the pci slot check more readable
SVN-Revision: 5862
Diffstat (limited to 'target/linux/rb532-2.6')
-rw-r--r-- | target/linux/rb532-2.6/patches/100-rb5xx_support.patch | 2 |
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 45c8fe3..c5c5ca9 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: |