linux-mips
[Top] [All Lists]

patch for pci.c

To: ralf@linux-mips.org
Subject: patch for pci.c
From: Yoichi Yuasa <yoichi_yuasa@montavista.co.jp>
Date: Thu, 12 Sep 2002 18:56:12 +0900
Cc: linux-mips@linux-mips.org
Organization: MontaVista Software Japan, Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

The argument of pcibios_enable_device is changed.

In include/linux/pci.h:
int pcibios_enable_device(struct pci_dev *, int mask);

The following patch is required for the cvs tree of linux_2_4 tag.

--- ./arch/mips/kernel/pci.c.orig       Wed May 29 12:03:16 2002
+++ ./arch/mips/kernel/pci.c    Thu Sep 12 18:22:14 2002
@@ -100,7 +100,7 @@
        pcibios_fixup_irqs();
 }
 
-int pcibios_enable_device(struct pci_dev *dev)
+int pcibios_enable_device(struct pci_dev *dev, int mask)
 {
        /* pciauto_assign_resources() will enable all devices found */
        return 0;

-- 
Yoichi Yuasa
Montavista Software Japan, Inc.

<Prev in Thread] Current Thread [Next in Thread>