Root/target/linux/ar71xx/files/arch/mips/ar71xx/dev-db120-pci.c

1/*
2 * Atheros db120 reference board PCI initialization
3 *
4 * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com>
5 *
6 * Parts of this file are based on Atheros linux 2.6.31 BSP
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License version 2 as published
10 * by the Free Software Foundation.
11 */
12
13#include <linux/pci.h>
14
15#include <asm/mach-ar71xx/ar71xx.h>
16#include <asm/mach-ar71xx/pci.h>
17
18#include "dev-db120-pci.h"
19
20static struct ar71xx_pci_irq db120_pci_irqs[] __initdata = {
21    {
22        .slot = 0,
23        .pin = 1,
24        .irq = AR71XX_PCI_IRQ_DEV0,
25    }
26};
27
28void __init db120_pci_init(void)
29{
30    ar71xx_pci_init(ARRAY_SIZE(db120_pci_irqs), db120_pci_irqs);
31}
32

Archive Download this file



interactive