00001 00045 #if !defined (DM648_PHY_PCI_H) 00046 #define DM648_PHY_PCI_H 00047 00048 00049 /* ----------------------------------- DSP/BIOS Link */ 00050 #include <dsplink.h> 00051 00052 /* ----------------------------------- Hardware Abstraction Layer */ 00053 #include <hal.h> 00054 #include <dm648_hal.h> 00055 #include <dm648_phy_pci.h> 00056 00057 00058 #if defined (__cplusplus) 00059 extern "C" { 00060 #endif 00061 00062 00069 extern HAL_Interface DM648_pciInterface ; 00070 00071 00072 /* ============================================================================ 00073 * @func DM648_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_EFAIL 00083 * All other error conditions. 00084 * 00085 * @pre None. 00086 * 00087 * @post None. 00088 * 00089 * @see None 00090 * ============================================================================ 00091 */ 00092 NORMAL_API 00093 DSP_STATUS 00094 DM648_phyPciInit (IN Pvoid halObject) ; 00095 00096 00097 /* ============================================================================ 00098 * @func DM648_phyPciExit 00099 * 00100 * @brief Finalizes PCI device. 00101 * 00102 * @param halObject. 00103 * HAL object. 00104 * 00105 * @return DSP_SOK 00106 * Operation successfully completed. 00107 * DSP_EFAIL 00108 * All other error conditions. 00109 * 00110 * @pre None. 00111 * 00112 * @post None. 00113 * 00114 * @see None 00115 * ============================================================================ 00116 */ 00117 NORMAL_API 00118 DSP_STATUS 00119 DM648_phyPciExit (IN Pvoid halObject) ; 00120 00121 00122 #if defined (__cplusplus) 00123 } 00124 #endif 00125 00126 00127 #endif /* !defined (DM648_PHY_PCI_H) */