diff options
Diffstat (limited to 'os/hal/src/mac.c')
-rw-r--r-- | os/hal/src/mac.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/os/hal/src/mac.c b/os/hal/src/mac.c index 74e08bdf4..a079556fe 100644 --- a/os/hal/src/mac.c +++ b/os/hal/src/mac.c @@ -1,5 +1,5 @@ /*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -51,7 +51,7 @@ /*===========================================================================*/
/**
- * @brief MAC Driver initialization. + * @brief MAC Driver initialization.
*/
void macInit(void) {
@@ -59,7 +59,7 @@ void macInit(void) { }
/**
- * @brief Initialize the standard part of a @p MACDriver structure. + * @brief Initialize the standard part of a @p MACDriver structure.
*
* @param[in] macp pointer to the @p MACDriver object
*/
@@ -75,9 +75,9 @@ void macObjectInit(MACDriver *macp) { /**
* @brief MAC address setup.
* @note This function must be invoked only with the driver in the stopped
- * state. If invoked on an active interface then it is ignored. + * state. If invoked on an active interface then it is ignored.
*
- * @param[in] macp pointer to the @p MACDriver object + * @param[in] macp pointer to the @p MACDriver object
* @param[in] p pointer to a six bytes buffer containing the MAC
* address. If this parameter is set to @p NULL then MAC
* a system default is used.
@@ -93,7 +93,7 @@ void macSetAddress(MACDriver *macp, const uint8_t *p) { * @details One of the available transmission descriptors is locked and
* returned. If a descriptor is not currently available then the
* invoking thread is queued until one is freed.
- * + *
* @param[in] macp pointer to the @p MACDriver object
* @param[out] tdp pointer to a @p MACTransmitDescriptor structure
* @param[in] time the number of ticks before the operation timeouts,
@@ -103,7 +103,7 @@ void macSetAddress(MACDriver *macp, const uint8_t *p) { * .
* @return The operation status.
* @retval RDY_OK the descriptor was obtained.
- * @retval RDY_TIMEOUT the operation timed out, descriptor not initialized. + * @retval RDY_TIMEOUT the operation timed out, descriptor not initialized.
*/
msg_t macWaitTransmitDescriptor(MACDriver *macp,
MACTransmitDescriptor *tdp,
@@ -126,8 +126,8 @@ msg_t macWaitTransmitDescriptor(MACDriver *macp, /**
* @brief Releases a transmit descriptor and starts the transmission of the
* enqueued data as a single frame.
- * - * @param[in] tdp the pointer to the @p MACTransmitDescriptor structure + *
+ * @param[in] tdp the pointer to the @p MACTransmitDescriptor structure
*/
void macReleaseTransmitDescriptor(MACTransmitDescriptor *tdp) {
@@ -183,11 +183,11 @@ void macReleaseReceiveDescriptor(MACReceiveDescriptor *rdp) { /**
* @brief Updates and returns the link status.
- * + *
* @param[in] macp pointer to the @p MACDriver object
* @return The link status.
* @retval TRUE if the link is active.
- * @retval FALSE if the link is down. + * @retval FALSE if the link is down.
*/
bool_t macPollLinkStatus(MACDriver *macp) {
|