ewew

Fork of lwip-eth by mbed official

Revision:
3:dd8b8f5b449a
Parent:
0:f4db29eb9e47
Child:
5:698d868a5285
--- a/arch/lpc_phy.h	Fri Jun 22 11:57:39 2012 +0000
+++ b/arch/lpc_phy.h	Mon Jul 23 11:52:41 2012 +0000
@@ -21,20 +21,20 @@
 * notification. NXP Semiconductors also make no representation or
 * warranty that such application will be suitable for the specified
 * use without further testing or modification.
-**********************************************************************/
-
-#ifndef __LPC_PHY_H_
-#define __LPC_PHY_H_
-
-#include "lwip/opt.h"
-#include "lwip/err.h"
-#include "lwip/netif.h"
+**********************************************************************/
+
+#ifndef __LPC_PHY_H_
+#define __LPC_PHY_H_
 
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
+#include "lwip/opt.h"
+#include "lwip/err.h"
+#include "lwip/netif.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
 /* These PHY functions are usually part of the EMAC driver */
 
 /** \brief  Phy status update state machine
@@ -45,7 +45,7 @@
  *
  *  \param[in]     netif   NETIF structure
  */
-s32_t lpc_phy_sts_sm(struct netif *netif);
+s32_t lpc_phy_sts_sm(struct netif *netif);
 
 /** \brief  Initialize the PHY
  *
@@ -54,11 +54,11 @@
  *  initialization. Configuration of the PHY at startup is
  *  controlled by setting up configuration defines in lpc_phy.h.
  *
- *  \param[in]     netif   NETIF structure
+ *  \param[in]     netif   NETIF structure
  *  \param[in]     rmii    If set, configures the PHY for RMII mode
- *  \return        ERR_OK if the setup was successful, otherwise ERR_TIMEOUT
+ *  \return         ERR_OK if the setup was successful, otherwise ERR_TIMEOUT
  */
-err_t lpc_phy_init(struct netif *netif, int rmii);
+err_t lpc_phy_init(struct netif *netif, int rmii);
 
 /** \brief  Write a value via the MII link (non-blocking)
  *
@@ -140,12 +140,12 @@
  *
  * @param[in] mbs_100     0 = 10mbs mode, 1 = 100mbs mode
  */
-void lpc_emac_set_speed(int mbs_100);
+void lpc_emac_set_speed(int mbs_100);
 
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __LPC_PHY_H_ */
-
-/* --------------------------------- End Of File ------------------------------ */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __LPC_PHY_H_ */
+
+/* --------------------------------- End Of File ------------------------------ */