fixup-rbtx4927.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) fixup-rbtx4927.c (19a8d6b7604df85402deecae01d7861cb1d40c89)
1/*
2 *
3 * BRIEF MODULE DESCRIPTION
4 * Board specific pci fixups for the Toshiba rbtx4927
5 *
6 * Copyright 2001 MontaVista Software Inc.
7 * Author: MontaVista Software, Inc.
8 * ppopov@mvista.com or source@mvista.com

--- 22 unchanged lines hidden (view full) ---

31 * You should have received a copy of the GNU General Public License along
32 * with this program; if not, write to the Free Software Foundation, Inc.,
33 * 675 Mass Ave, Cambridge, MA 02139, USA.
34 */
35#include <linux/types.h>
36#include <asm/txx9/pci.h>
37#include <asm/txx9/rbtx4927.h>
38
1/*
2 *
3 * BRIEF MODULE DESCRIPTION
4 * Board specific pci fixups for the Toshiba rbtx4927
5 *
6 * Copyright 2001 MontaVista Software Inc.
7 * Author: MontaVista Software, Inc.
8 * ppopov@mvista.com or source@mvista.com

--- 22 unchanged lines hidden (view full) ---

31 * You should have received a copy of the GNU General Public License along
32 * with this program; if not, write to the Free Software Foundation, Inc.,
33 * 675 Mass Ave, Cambridge, MA 02139, USA.
34 */
35#include <linux/types.h>
36#include <asm/txx9/pci.h>
37#include <asm/txx9/rbtx4927.h>
38
39int __init rbtx4927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
39int rbtx4927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
40{
41 unsigned char irq = pin;
42
43 /* IRQ rotation */
44 irq--; /* 0-3 */
45 if (slot == TX4927_PCIC_IDSEL_AD_TO_SLOT(23)) {
46 /* PCI CardSlot (IDSEL=A23) */
47 /* PCIA => PCIA */

--- 26 unchanged lines hidden ---
40{
41 unsigned char irq = pin;
42
43 /* IRQ rotation */
44 irq--; /* 0-3 */
45 if (slot == TX4927_PCIC_IDSEL_AD_TO_SLOT(23)) {
46 /* PCI CardSlot (IDSEL=A23) */
47 /* PCIA => PCIA */

--- 26 unchanged lines hidden ---