delta parametros

Dependents:   EthernetInterface EthernetInterface_vz

Fork of lwip-eth by mbed official

Files at this revision

API Documentation at this revision

Comitter:
klauss
Date:
Tue Sep 16 15:07:45 2014 +0000
Parent:
19:3dfbfd94d4a1
Child:
21:886d7b0ccc87
Commit message:
de volta ao estado da arte

Changed in this revision

arch/TARGET_NXP/lpc17xx_emac.h Show annotated file Show diff for this revision Revisions of this file
arch/TARGET_NXP/lpc_emac_config.h Show annotated file Show diff for this revision Revisions of this file
arch/TARGET_NXP/lpc_phy_dp83848.c Show annotated file Show diff for this revision Revisions of this file
--- a/arch/TARGET_NXP/lpc17xx_emac.h	Tue Sep 16 13:20:29 2014 +0000
+++ b/arch/TARGET_NXP/lpc17xx_emac.h	Tue Sep 16 15:07:45 2014 +0000
@@ -74,7 +74,7 @@
 /* EMAC Memory Buffer configuration for 16K Ethernet RAM */
 #define EMAC_NUM_RX_FRAG         4           /**< Num.of RX Fragments 4*1536= 6.0kB */
 #define EMAC_NUM_TX_FRAG         3           /**< Num.of TX Fragments 3*1536= 4.6kB */
-#define EMAC_ETH_MAX_FLEN        400//pzn1536        /**< Max. Ethernet Frame Size          */
+#define EMAC_ETH_MAX_FLEN        1536        /**< Max. Ethernet Frame Size          */
 #define EMAC_TX_FRAME_TOUT       0x00100000  /**< Frame Transmit timeout count      */
 
 /* --------------------- BIT DEFINITIONS -------------------------------------- */
@@ -658,4 +658,4 @@
  * @}
  */
 
-/* --------------------------------- End Of File ------------------------------ */
\ No newline at end of file
+/* --------------------------------- End Of File ------------------------------ */
--- a/arch/TARGET_NXP/lpc_emac_config.h	Tue Sep 16 13:20:29 2014 +0000
+++ b/arch/TARGET_NXP/lpc_emac_config.h	Tue Sep 16 15:07:45 2014 +0000
@@ -81,14 +81,13 @@
 /** \brief  Defines the number of descriptors used for RX. This
  *          must be a minimum value of 2.
  */
-#define LPC_NUM_BUFF_RXDESCS 16//pzn3
+#define LPC_NUM_BUFF_RXDESCS 3
 
 /** \brief  Defines the number of descriptors used for TX. Must
  *          be a minimum value of 2.
  */
 #define LPC_NUM_BUFF_TXDESCS (TCP_SND_QUEUELEN + 1)
 
-
 /** \brief  Set this define to 1 to enable bounce buffers for transmit pbufs
  *          that cannot be sent via the zero-copy method. Some chained pbufs
  *          may have a payload address that links to an area of memory that
@@ -109,4 +108,4 @@
 
 #endif /* __LPC_EMAC_CONFIG_H */
 
-/* --------------------------------- End Of File ------------------------------ */
\ No newline at end of file
+/* --------------------------------- End Of File ------------------------------ */
--- a/arch/TARGET_NXP/lpc_phy_dp83848.c	Tue Sep 16 13:20:29 2014 +0000
+++ b/arch/TARGET_NXP/lpc_phy_dp83848.c	Tue Sep 16 15:07:45 2014 +0000
@@ -314,7 +314,7 @@
  */
 err_t lpc_phy_init(struct netif *netif, int rmii)
 {
-	u32_t tmp = 0;
+	u32_t tmp;
 	s32_t i;
 
 	physts.phy_speed_100mbs = olddphysts.phy_speed_100mbs = 0;