This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix a couple of typos


This fixes a couple of typos introduced when part of the eCosPro
coldfire support was contributed.

Bart

2009-04-21  Bart Veer  <bartv@ecoscentric.com>

	* src/if_mcf5272.c: fix a couple of typos

Index: src/if_mcf5272.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/m68k/mcf5272/current/src/if_mcf5272.c,v
retrieving revision 1.2
diff -u -p -r1.2 if_mcf5272.c
--- src/if_mcf5272.c	29 Jan 2009 17:48:09 -0000	1.2
+++ src/if_mcf5272.c	21 Apr 2009 15:46:57 -0000
@@ -410,7 +410,7 @@ static void         mcfxxxx_eth_dsr_tx(c
 // value.
 #ifdef CYGINT_DEVS_ETH_MCFxxxx_PLATFORM_MAC
 
-# if !defined(HAL_MCFxxxx_ETH_GET_MAC_ADDRESS) && !defined(HAL_MCFxxxx_ETH_GET_MAC_ADDRESS)
+# if !defined(HAL_MCFxxxx_ETH_GET_MAC_ADDRESS)
 #  error Platform HAL should have provided a MAC address macro
 # endif
 
@@ -734,7 +734,7 @@ mcfxxxx_eth_send(struct eth_drv_sc* sc,
     
     // Make sure all the buffer descriptors have been written to memory.
     // No need to invalidate the cache entries, the driver does not look
-    // for any bits changed by the hardware except on the xxxx which
+    // for any bits changed by the hardware except on the 5272 which
     // does not have a data cache at all.
 #ifdef HAL_DCACHE_STORE    
     HAL_DCACHE_STORE(&(eth->txbds[0]), TX_BUFFER_DESCRIPTOR_COUNT * sizeof(hal_mcfxxxx_eth_buffer_descriptor));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]