aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/include/mach/pci.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
commitfcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch)
treea57612d1888735a2ec7972891b68c1ac5ec8faea /arch/arm/mach-tegra/include/mach/pci.h
parent8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff)
Added missing tegra files.HEADmaster
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/pci.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/pci.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/pci.h b/arch/arm/mach-tegra/include/mach/pci.h
new file mode 100644
index 00000000000..388ad320775
--- /dev/null
+++ b/arch/arm/mach-tegra/include/mach/pci.h
@@ -0,0 +1,38 @@
1/*
2 * arch/arm/mach-tegra/include/mach/pci.h
3 *
4 * Header file containing constants for the tegra PCIe driver.
5 *
6 * Copyright (c) 2011, NVIDIA Corporation.
7 *
8 * This software is licensed under the terms of the GNU General Public
9 * License version 2, as published by the Free Software Foundation, and
10 * may be copied, distributed, and modified under those terms.
11 *
12 * This program is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 */
21
22#ifndef __MACH_PCI_H
23#define __MACH_PCI_H
24
25#include <linux/pci.h>
26
27#ifdef CONFIG_ARCH_TEGRA_2x_SOC
28 #define MAX_PCIE_SUPPORTED_PORTS 2
29#else
30 #define MAX_PCIE_SUPPORTED_PORTS 3
31#endif
32
33struct tegra_pci_platform_data {
34 int port_status[MAX_PCIE_SUPPORTED_PORTS];
35 bool use_dock_detect;
36 int gpio;
37};
38#endif