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

View file

@ -245,7 +245,7 @@ diff -urN linux.old/arch/mips/pci/ops-rc32434.c linux.dev/arch/mips/pci/ops-rc32
+ int ret; + int ret;
+ int delay = 1; + int delay = 1;
+ +
+ if (bus->number == 0 && (devfn >> 3) > 21) + if (bus->number == 0 && PCI_SLOT(devfn) > 21)
+ return 0; + return 0;
+ +
+retry: +retry: