1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00

cosmetic fix: make the pci slot check more readable

SVN-Revision: 5862
This commit is contained in:
Felix Fietkau 2006-12-19 22:06:09 +00:00
parent e8258da964
commit cb75ece87c

@ -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: