summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/shared/pci/pcibios.h
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-12-23 23:49:00 +0530
committerGedare Bloom <gedare@rtems.org>2013-12-23 15:04:19 -0500
commit52943a24710905392c7d4375b204e36bcdd514d7 (patch)
tree6ec9e11ed419ae8240f1efed0cd568ea20890f04 /c/src/lib/libbsp/i386/shared/pci/pcibios.h
parentlm32: Enhance Doxygen #2 (diff)
downloadrtems-52943a24710905392c7d4375b204e36bcdd514d7.tar.bz2
i386: shared: Add doxygen
Diffstat (limited to 'c/src/lib/libbsp/i386/shared/pci/pcibios.h')
-rw-r--r--c/src/lib/libbsp/i386/shared/pci/pcibios.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/i386/shared/pci/pcibios.h b/c/src/lib/libbsp/i386/shared/pci/pcibios.h
index 1a628cc0bf..0bd693ab0e 100644
--- a/c/src/lib/libbsp/i386/shared/pci/pcibios.h
+++ b/c/src/lib/libbsp/i386/shared/pci/pcibios.h
@@ -1,3 +1,9 @@
+/**
+ * @file
+ * @ingroup i386_pcibios
+ * @brief
+ */
+
/*
* This software is Copyright (C) 1998 by T.sqware - all rights limited
* It is provided in to the public domain "as is", can be freely modified
@@ -5,18 +11,25 @@
* an endorsement by T.sqware of the product in which it is included.
*/
+/**
+ * @defgroup i386_pcibios
+ * @ingroup i386_pci
+ * @brief
+ * @{
+ */
+
#ifndef _PCIB_H
#define _PCIB_H
#include <rtems/pci.h>
-/*
+/** @brief
* Make device signature from bus number, device numebr and function
* number
*/
#define PCIB_DEVSIG_MAKE(b,d,f) ((b<<8)|(d<<3)|(f))
-/*
+/** @brief
* Extract valrous part from device signature
*/
#define PCIB_DEVSIG_BUS(x) (((x)>>8) &0xff)
@@ -40,6 +53,8 @@ int
pci_find_device( unsigned short vendorid, unsigned short deviceid,
int instance, int *pbus, int *pdev, int *pfun );
+/** @} */
+
#ifdef __cplusplus
}
#endif