| To: | linux-cvs-patches@linux-mips.org |
|---|---|
| Subject: | CVS Update@linux-mips.org: linux |
| From: | ths@linux-mips.org |
| Date: | Sun, 03 Jul 2005 20:16:19 +0100 |
| Reply-to: | linux-mips@linux-mips.org |
| Sender: | linux-cvs-patches-bounce@linux-mips.org |
CVSROOT: /home/cvs
Module name: linux
Changes by: ths@ftp.linux-mips.org 05/07/03 20:16:13
Modified files:
arch/mips/pci : pci-lasat.c
Log message:
Brian Murphy says:
this fixes Lasat pci to work with multi-function devices by
assigning the correct values based on pin number (instead of ignoring
them).
diff -urN linux/arch/mips/pci/pci-lasat.c linux/arch/mips/pci/pci-lasat.c
--- linux/arch/mips/pci/pci-lasat.c 2005/07/03 19:12:05 1.12
+++ linux/arch/mips/pci/pci-lasat.c 2005/07/03 19:16:13 1.13
@@ -68,11 +68,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:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | CVS Update@linux-mips.org: linux, ths |
|---|---|
| Next by Date: | CVS Update@linux-mips.org: linux, ralf |
| Previous by Thread: | CVS Update@linux-mips.org: linux, ths |
| Next by Thread: | CVS Update@linux-mips.org: linux, ralf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |