cosmetic fix: make the pci slot check more readable

SVN-Revision: 5862
master
Felix Fietkau 18 years ago
parent e8258da964
commit cb75ece87c
  1. 2
      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:

Loading…
Cancel
Save