Mostly cosmetic
This commit is contained in:
parent
f61d15bb55
commit
119e957472
@ -1,4 +1,4 @@
|
|||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* arch/arm/src/tiva/tiva_ethernet.h
|
* arch/arm/src/tiva/tiva_ethernet.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009-2010, 2013-2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2009-2010, 2013-2014 Gregory Nutt. All rights reserved.
|
||||||
@ -31,42 +31,44 @@
|
|||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_SRC_TIVA_TIVA_ETHERNET_H
|
#ifndef __ARCH_ARM_SRC_TIVA_TIVA_ETHERNET_H
|
||||||
#define __ARCH_ARM_SRC_TIVA_TIVA_ETHERNET_H
|
#define __ARCH_ARM_SRC_TIVA_TIVA_ETHERNET_H
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
#if TIVA_NETHCONTROLLERS > 1
|
/****************************************************************************
|
||||||
|
|
||||||
/************************************************************************************
|
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Inline Functions
|
* Inline Functions
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Public Data
|
* Public Data
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
#define EXTERN extern "C"
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
#else
|
||||||
|
#define EXTERN extern
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@ -77,10 +79,10 @@ extern "C"
|
|||||||
* Function: tiva_ethinitialize
|
* Function: tiva_ethinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Initialize the Ethernet driver for one interface. If the Stellaris chip
|
* Initialize the Ethernet driver for one interface. If the Tiva/Stellaris
|
||||||
* supports multiple Ethernet controllers, then bould specific logic
|
* chip supports multiple Ethernet controllers, then board specific logic
|
||||||
* must implement up_netinitialize() and call this function to initialize
|
* must implement up_netinitialize() and call this function to initialize
|
||||||
* the desiresed interfaces.
|
* the desired interfaces.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* None
|
* None
|
||||||
@ -92,12 +94,14 @@ extern "C"
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#if TIVA_NETHCONTROLLERS > 1
|
||||||
int tiva_ethinitialize(int intf);
|
int tiva_ethinitialize(int intf);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* TIVA_NETHCONTROLLERS > 1 */
|
|
||||||
#endif /* __ARCH_ARM_SRC_TIVA_TIVA_ETHERNET_H */
|
#endif /* __ARCH_ARM_SRC_TIVA_TIVA_ETHERNET_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user