fixup-fuloong2e.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | fixup-fuloong2e.c (19a8d6b7604df85402deecae01d7861cb1d40c89) |
---|---|
1/* 2 * Copyright (C) 2004 ICT CAS 3 * Author: Li xiaoyu, ICT CAS 4 * lixy@ict.ac.cn 5 * 6 * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology 7 * Author: Fuxin Zhang, zhangfx@lemote.com 8 * --- 5 unchanged lines hidden (view full) --- 14#include <linux/init.h> 15#include <linux/pci.h> 16 17#include <loongson.h> 18 19/* South bridge slot number is set by the pci probe process */ 20static u8 sb_slot = 5; 21 | 1/* 2 * Copyright (C) 2004 ICT CAS 3 * Author: Li xiaoyu, ICT CAS 4 * lixy@ict.ac.cn 5 * 6 * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology 7 * Author: Fuxin Zhang, zhangfx@lemote.com 8 * --- 5 unchanged lines hidden (view full) --- 14#include <linux/init.h> 15#include <linux/pci.h> 16 17#include <loongson.h> 18 19/* South bridge slot number is set by the pci probe process */ 20static u8 sb_slot = 5; 21 |
22int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | 22int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
23{ 24 int irq = 0; 25 26 if (slot == sb_slot) { 27 switch (PCI_FUNC(dev->devfn)) { 28 case 2: 29 irq = 10; 30 break; --- 195 unchanged lines hidden --- | 23{ 24 int irq = 0; 25 26 if (slot == sb_slot) { 27 switch (PCI_FUNC(dev->devfn)) { 28 case 2: 29 irq = 10; 30 break; --- 195 unchanged lines hidden --- |