From eb3554dc17d9e616e602745f15ab2985fd8f71bd Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 19 Dec 2006 22:06:09 +0000 Subject: cosmetic fix: make the pci slot check more readable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5862 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/rb532-2.6/patches/100-rb5xx_support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/rb532-2.6') 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: -- cgit v1.2.3