1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:01:09 +02:00

cosmetic fix: make the pci slot check more readable

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5862 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-12-19 22:06:09 +00:00
parent d94f1f9036
commit eb3554dc17

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 delay = 1;
+
+ if (bus->number == 0 && (devfn >> 3) > 21)
+ if (bus->number == 0 && PCI_SLOT(devfn) > 21)
+ return 0;
+
+retry: