Re: [PATCH 05/14] MIPS: Loongson 3: Add HT-linked PCI support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, Jun 15, 2012 at 04:09:52PM +0800, Huacai Chen wrote:
 > Loongson family machines use Hyper-Transport bus for inter-core
 > connection and device connection. The PCI bus is a subordinate
 > linked at HT1.
 > 
 > With UEFI-like firmware interface, We don't need PCI irq routing
 > fixup.
 > 
 > Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx>
 > Signed-off-by: Hongliang Tao <taohl@xxxxxxxxxx>
 > Signed-off-by: Hua Yan <yanh@xxxxxxxxxx>
 > ---
 >  arch/mips/Kconfig                              |    9 ++
 >  arch/mips/include/asm/mach-loongson/loongson.h |    7 ++
 >  arch/mips/include/asm/mach-loongson/pci.h      |    5 +
 >  arch/mips/pci/Makefile                         |    1 +
 >  arch/mips/pci/fixup-loongson3.c                |   50 +++++++++++
 >  arch/mips/pci/ops-loongson3.c                  |  104 ++++++++++++++++++++++++
 >  6 files changed, 176 insertions(+), 0 deletions(-)
 >  create mode 100644 arch/mips/pci/fixup-loongson3.c
 >  create mode 100644 arch/mips/pci/ops-loongson3.c
Fix the following compiling warning please:

  CC      arch/mips/pci/fixup-loongson3.o
arch/mips/pci/fixup-loongson3.c: In function ‘pcibios_map_irq’:
arch/mips/pci/fixup-loongson3.c:42: warning: passing argument 1 of ‘print_fixup_info’ discards qualifiers from pointer target type
arch/mips/pci/fixup-loongson3.c:32: note: expected ‘struct pci_dev *’ but argument is of type ‘const struct pci_dev *’

LIU Qi



[Linux MIPS Home]     [LKML Archive]     [Linux ARM]     [Linux]     [Git]     [Photo]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

Add to Google Powered by Linux