Path: blob/master/arch/tile/include/hv/drv_pcie_rc_intf.h
10819 views
/*1* Copyright 2010 Tilera Corporation. All Rights Reserved.2*3* This program is free software; you can redistribute it and/or4* modify it under the terms of the GNU General Public License5* as published by the Free Software Foundation, version 2.6*7* This program is distributed in the hope that it will be useful, but8* WITHOUT ANY WARRANTY; without even the implied warranty of9* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or10* NON INFRINGEMENT. See the GNU General Public License for11* more details.12*/1314/**15* @file drv_pcie_rc_intf.h16* Interface definitions for the PCIE Root Complex.17*/1819#ifndef _SYS_HV_DRV_PCIE_RC_INTF_H20#define _SYS_HV_DRV_PCIE_RC_INTF_H2122/** File offset for reading the interrupt base number used for PCIE legacy23interrupts and PLX Gen 1 requirement flag */24#define PCIE_RC_CONFIG_MASK_OFF 0252627/**28* Structure used for obtaining PCIe config information, read from the PCIE29* subsystem /ctl file at initialization30*/31typedef struct pcie_rc_config32{33int intr; /**< interrupt number used for downcall */34int plx_gen1; /**< flag for PLX Gen 1 configuration */35} pcie_rc_config_t;3637#endif /* _SYS_HV_DRV_PCIE_RC_INTF_H */383940