drivers: use vdev registration
[dpdk.git] / lib / librte_eal / common / include / rte_dev.h
index 6cc9b01..8796f97 100644 (file)
@@ -104,16 +104,6 @@ rte_pmd_debug_trace(const char *func_name, const char *fmt, ...)
 /** Double linked list of device drivers. */
 TAILQ_HEAD(rte_driver_list, rte_driver);
 
-/**
- * Initialization function called for each device driver once.
- */
-typedef int (rte_dev_init_t)(const char *name, const char *args);
-
-/**
- * Uninitilization function called for each device driver once.
- */
-typedef int (rte_dev_uninit_t)(const char *name);
-
 /**
  * Driver type enumeration
  */
@@ -129,8 +119,6 @@ struct rte_driver {
        TAILQ_ENTRY(rte_driver) next;  /**< Next in list. */
        enum pmd_type type;                /**< PMD Driver type */
        const char *name;                   /**< Driver name. */
-       rte_dev_init_t *init;              /**< Device init. function. */
-       rte_dev_uninit_t *uninit;          /**< Device uninit. function. */
 };
 
 /**