From 4c8314f8044617197c73e6603c21a1ef8cc5470a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 27 Sep 2009 15:57:02 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1190 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/io/templates/mac_lld.c | 13 +++++++++++++ os/io/templates/mac_lld.h | 1 + 2 files changed, 14 insertions(+) (limited to 'os/io/templates') diff --git a/os/io/templates/mac_lld.c b/os/io/templates/mac_lld.c index 45b3e0b50..c9bac58c0 100644 --- a/os/io/templates/mac_lld.c +++ b/os/io/templates/mac_lld.c @@ -123,4 +123,17 @@ uint8_t *mac_lld_get_receive_buffer(MACReceiveDescriptor *rdp) { return NULL; } +/** + * @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. + */ +bool_t mac_lld_poll_link_status(MACDriver *macp) { + + return FALSE; +} + /** @} */ diff --git a/os/io/templates/mac_lld.h b/os/io/templates/mac_lld.h index a01bf845e..10b84dc0f 100644 --- a/os/io/templates/mac_lld.h +++ b/os/io/templates/mac_lld.h @@ -86,6 +86,7 @@ extern "C" { void mac_lld_release_receive_descriptor(MACDriver *macp, MACReceiveDescriptor *rdp); uint8_t *mac_lld_get_receive_buffer(MACReceiveDescriptor *rdp); + bool_t mac_lld_poll_link_status(MACDriver *macp); #ifdef __cplusplus } #endif -- cgit v1.2.3