Lasat pci assignment fixup (pci-lasat.c) (dependant on previous cleanup patch)
PATCH 1/1 Lasat pci assignment fixup (pci-lasat.c) (dependant on previous cleanup patch)
Hi Ralf,
this fixes Lasat pci to work with multi-function devices by
assigning the correct values based on pin number (instead of ignoring them). And this is of course the real reason for the patches.
Please apply.
/Brian
mips/pci/pci-lasat.c renamed from pci-lasat.c +1 -3
@@ -64,11 +64,9 @@ {switch (slot) {case 1 : -return LASATINT_PCIA ;case 2 : -return LASATINT_PCIB ;case 3 : -return LASATINT_PCIC ; +return LASATINT_PCIA + (((slot-1 ) + (pin-1 )) %4 );case 4 :return LASATINT_ETH1 ;/* Ethernet 1 (LAN 2) */ case 5 :