From patchwork Mon Jul 11 16:46:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 71745 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp47907qga; Mon, 11 Jul 2016 09:49:41 -0700 (PDT) X-Received: by 10.107.199.65 with SMTP id x62mr15158834iof.58.1468255780975; Mon, 11 Jul 2016 09:49:40 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s189si5408949ita.104.2016.07.11.09.49.36; Mon, 11 Jul 2016 09:49:40 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 71D0268452; Mon, 11 Jul 2016 16:49:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 06ADA6843F; Mon, 11 Jul 2016 16:49:30 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 04D6068441; Mon, 11 Jul 2016 16:48:56 +0000 (UTC) Received: from mail-qt0-f171.google.com (mail-qt0-f171.google.com [209.85.216.171]) by lists.linaro.org (Postfix) with ESMTPS id C012968452 for ; Mon, 11 Jul 2016 16:46:53 +0000 (UTC) Received: by mail-qt0-f171.google.com with SMTP id u25so32669273qtb.1 for ; Mon, 11 Jul 2016 09:46:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GhE+V2+oUbrz+VhGJiRBX6ISIqxBHS38iFMNKJ6uhRs=; b=L7WaZ3MFQ05296Fi8nTpcpLpAHMbCtydoZyFF2kP4ef0loeCj0EiVWXPVJcvveIaxC LhYHuq7a8JpVZMO+TWnZSLFn2IRTf08MYAw1MESCx9Utjo8TJIBskM02860kLOn+Mh0B vt/5PQvIdMMPXEmY+poH5xU9l0PeI/xozamM3adfFvlfR1kVEb/5lwsPgqPV2hyd8xr7 skeP1CI9wGfLL7qvg4SyzIHoqDik0RyIkAsyhhkpFMi03VDJQnqx9PoF+NygeZwwThnw ABNRUw7x4Isr3Nc11hA3ZYIqj/HVTn8kJmxSH18N/egXFvlHyKM/+R+3cFOB4xpbLgfb SQ2Q== X-Gm-Message-State: ALyK8tJavRdaLi2COuyu03G+vNd/cQFjXoyU9svUYr43f+ARZaIR4sElLV+LXdpLrSL1mqE6GIU= X-Received: by 10.200.52.43 with SMTP id u40mr31042023qtb.74.1468255613136; Mon, 11 Jul 2016 09:46:53 -0700 (PDT) Received: from localhost (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id g73sm727450qke.35.2016.07.11.09.46.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 09:46:52 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Mon, 11 Jul 2016 12:46:50 -0400 Message-Id: <1468255610-29618-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.7.4 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH v2] doc: driver-guide: initial revision X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Add an initial driver interface document structure for the existing driver framework. Signed-off-by: Mike Holmes Reviewed-and-tested-by: Bill Fischofer --- v2 use seperate language for the north and south bound interfaces target at api-next configure.ac | 4 +++- doc/Makefile.am | 6 +++++- doc/driver-api-guide/.gitignore | 1 + doc/driver-api-guide/Doxyfile | 14 ++++++++++++++ doc/driver-api-guide/Makefile.am | 5 +++++ doc/driver-api-guide/odp.dox | 20 ++++++++++++++++++++ doc/m4/configure.m4 | 3 ++- 7 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 doc/driver-api-guide/.gitignore create mode 100644 doc/driver-api-guide/Doxyfile create mode 100644 doc/driver-api-guide/Makefile.am create mode 100644 doc/driver-api-guide/odp.dox -- 2.7.4 Reviewed-by: Christophe Milard diff --git a/configure.ac b/configure.ac index c0eb207..d1e410a 100644 --- a/configure.ac +++ b/configure.ac @@ -188,7 +188,9 @@ DX_INIT_DOXYGEN($PACKAGE_NAME, ${srcdir}/doc/helper-guide/Doxyfile, ${builddir}/doc/helper-guide/output, ${srcdir}/doc/platform-api-guide/Doxyfile, - ${builddir}/doc/platform-api-guide/output) + ${builddir}/doc/platform-api-guide/output, + ${srcdir}/doc/driver-api-guide/Doxyfile, + ${builddir}/doc/driver-api-guide/output) ########################################################################## # Enable/disable ODP_DEBUG_PRINT diff --git a/doc/Makefile.am b/doc/Makefile.am index d49d84b..59d6a6c 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,8 @@ -SUBDIRS = application-api-guide helper-guide platform-api-guide +SUBDIRS = \ + application-api-guide \ + helper-guide \ + platform-api-guide \ + driver-api-guide if user_guide SUBDIRS += implementers-guide users-guide process-guide diff --git a/doc/driver-api-guide/.gitignore b/doc/driver-api-guide/.gitignore new file mode 100644 index 0000000..53752db --- /dev/null +++ b/doc/driver-api-guide/.gitignore @@ -0,0 +1 @@ +output diff --git a/doc/driver-api-guide/Doxyfile b/doc/driver-api-guide/Doxyfile new file mode 100644 index 0000000..680d1d4 --- /dev/null +++ b/doc/driver-api-guide/Doxyfile @@ -0,0 +1,14 @@ +@INCLUDE = $(SRCDIR)/doc/Doxyfile_common + +PROJECT_NAME = "Driver Interface (drv) Reference Manual" +PROJECT_NUMBER = $(VERSION) +PROJECT_LOGO = $(SRCDIR)/doc/images/ODP-Logo-HQ.svg +INPUT = $(SRCDIR)/doc/driver-api-guide \ + $(SRCDIR)/include/odp/drv \ + $(SRCDIR)/include/odp_drv.h +EXCLUDE_PATTERNS = drv* odp_drv.h +EXAMPLE_PATH = $(SRCDIR)/example $(SRCDIR) +PREDEFINED = __GNUC__ \ + "ODP_HANDLE_T(type)=odp_handle_t type" \ + odpdrv_bool_t=int +WARNINGS = NO diff --git a/doc/driver-api-guide/Makefile.am b/doc/driver-api-guide/Makefile.am new file mode 100644 index 0000000..4fc4755 --- /dev/null +++ b/doc/driver-api-guide/Makefile.am @@ -0,0 +1,5 @@ +EXTRA_DIST = \ + odp.dox + +clean-local: + rm -rf output diff --git a/doc/driver-api-guide/odp.dox b/doc/driver-api-guide/odp.dox new file mode 100644 index 0000000..687a79e --- /dev/null +++ b/doc/driver-api-guide/odp.dox @@ -0,0 +1,20 @@ +/* Copyright (c) 2016, Linaro Limited + * All rights reserved + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @mainpage + * + * @section sec_1 Introduction + * + * OpenDataPlane (ODP) provides a driver interface + + * + * @section contact Contact Details + * - The main web site is http://www.opendataplane.org/ + * - The git repo is https://git.linaro.org/lng/odp.git + * - Bug tracking is https://bugs.linaro.org/buglist.cgi?product=OpenDataPlane + * + */ diff --git a/doc/m4/configure.m4 b/doc/m4/configure.m4 index ed9451d..6e02f76 100644 --- a/doc/m4/configure.m4 +++ b/doc/m4/configure.m4 @@ -42,4 +42,5 @@ AC_CONFIG_FILES([doc/application-api-guide/Makefile doc/Makefile doc/platform-api-guide/Makefile doc/process-guide/Makefile - doc/users-guide/Makefile]) + doc/users-guide/Makefile + doc/driver-api-guide/Makefile])