Cleanups & Implementations to allow IPStack to compile
[tpg/acess2.git] / Kernel / include / tpl_drv_common.h
index 7608bc8..e1bdd3e 100644 (file)
@@ -24,6 +24,8 @@ enum eTplDrv_IOCtl {
        DRV_IOCTL_LOOKUP
 };
 
+#define        DRV_IOCTLNAMES  "type", "ident", "version", "lookup"
+
 /**
  * \enum eTplDrv_Type
  * \brief Driver Types returned by DRV_IOCTL_TYPE
@@ -41,18 +43,4 @@ enum eTplDrv_Type {
        DRV_TYPE_NETWORK        //!< Network Device
 };
 
-// === FUNCTIONS ===
-/**
- * \fn int GetIOCtlId(int Class, char *Name)
- * \brief Transforms a symbolic name into an ID
- * \param Class        ::eTplDrv_Type type to use
- * \param Name Symbolic name to resolve
- * 
- * This function is designed to be used by device drivers to implement
- * ::eTplDrv_IOCtl.DRV_IOCTL_LOOKUP easily given that they conform to
- * the standard interfaces (::eTplDrv_Type except DRV_TYPE_MISC) and do
- * not add their own call numbers.
- */
-extern int     GetIOCtlId(int Class, char *Name);
-
 #endif

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