00001 00045 #if !defined (DM6437_PHY_PCI_H) 00046 #define DM6437_PHY_PCI_H 00047 00048 00049 /* ----------------------------------- DSP/BIOS Link */ 00050 #include <dsplink.h> 00051 00052 /* ----------------------------------- Hardware Abstraction Layer */ 00053 #include <hal.h> 00054 #include <dm6437_hal.h> 00055 #include <dm6437_phy_pci.h> 00056 00057 00058 #if defined (__cplusplus) 00059 extern "C" { 00060 #endif 00061 00062 00069 extern HAL_Interface DM6437_pciInterface ; 00070 00071 00072 /* ============================================================================ 00073 * @func DM6437_phyPciInit 00074 * 00075 * @brief Initializes PCI device. 00076 * 00077 * @param halObject. 00078 * HAL object. 00079 * 00080 * @return DSP_SOK 00081 * Operation successfully completed. 00082 * DSP_ENOTFOUND 00083 * Specified PCI card was not found at the particular BUS and slot. 00084 * DSP_EFAIL 00085 * A general failure occurred. 00086 * 00087 * @pre None. 00088 * 00089 * @post None. 00090 * 00091 * @see None 00092 * ============================================================================ 00093 */ 00094 NORMAL_API 00095 DSP_STATUS 00096 DM6437_phyPciInit (IN Pvoid halObject) ; 00097 00098 00099 /* ============================================================================ 00100 * @func DM6437_phyPciExit 00101 * 00102 * @brief Finalizes PCI device. 00103 * 00104 * @param halObject. 00105 * HAL object. 00106 * 00107 * @return DSP_SOK 00108 * Operation successfully completed. 00109 * DSP_EFAIL 00110 * All other error conditions. 00111 * 00112 * @pre None. 00113 * 00114 * @post None. 00115 * 00116 * @see None 00117 * ============================================================================ 00118 */ 00119 NORMAL_API 00120 DSP_STATUS 00121 DM6437_phyPciExit (IN Pvoid halObject) ; 00122 00123 00124 #if defined (__cplusplus) 00125 } 00126 #endif 00127 00128 00129 #endif /* !defined (DM6437_PHY_PCI_H) */