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 | 8edf5da4858f7246f278396d05e0ceff5c609b8d (patch) | |
tree | 7f15de366703f776689c451fdc9ec1b62b054634 /target/linux/rb532-2.6/patches/100-rb5xx_support.patch | |
parent | b995887183e5af24f7bed0518a0888e5c672dae3 (diff) | |
download | master-187ad058-8edf5da4858f7246f278396d05e0ceff5c609b8d.tar.gz master-187ad058-8edf5da4858f7246f278396d05e0ceff5c609b8d.tar.bz2 master-187ad058-8edf5da4858f7246f278396d05e0ceff5c609b8d.zip |
cosmetic fix: make the pci slot check more readable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5862 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532-2.6/patches/100-rb5xx_support.patch')
-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 45c8fe3b90..c5c5ca9323 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: |