Cleanups & Implementations to allow IPStack to compile
[tpg/acess2.git] / Kernel / include / tpl_drv_common.h
index 31ad97a..e1bdd3e 100644 (file)
@@ -1,8 +1,11 @@
+/*
+ * Acess2
+ * - Common Driver Interface
+ */
 /**
- AcessOS Version 1
- \file tpl_drv_common.h
- \brief Common Driver Interface Definitions
-*/
+ * \file tpl_drv_common.h
+ * \brief Common Driver Interface Definitions
+ */
 #ifndef _TPL_COMMON_H
 #define _TPL_COMMON_H
 
@@ -18,9 +21,11 @@ enum eTplDrv_IOCtl {
        /// \brief Get driver version - (int *ver)
        DRV_IOCTL_VERSION,
        /// \brief Get a IOCtl from a symbolic name
-       DRV_IOCTL_LOOKUP,
+       DRV_IOCTL_LOOKUP
 };
 
+#define        DRV_IOCTLNAMES  "type", "ident", "version", "lookup"
+
 /**
  * \enum eTplDrv_Type
  * \brief Driver Types returned by DRV_IOCTL_TYPE
@@ -38,7 +43,4 @@ enum eTplDrv_Type {
        DRV_TYPE_NETWORK        //!< Network Device
 };
 
-// === FUNCTIONS ===
-extern int     GetIOCtlId(int Class, char *Name);
-
 #endif

UCC git Repository :: git.ucc.asn.au