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]

AT91 var_io.h typos


Hi

This patch fixes a few typos pointed out by Igor B. Poretsky in the
AT91 VAR var_io,h file.

      Andrew
Index: hal/arm/at91/var/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/at91/var/current/ChangeLog,v
retrieving revision 1.39
diff -u -r1.39 ChangeLog
--- hal/arm/at91/var/current/ChangeLog	20 Feb 2007 21:33:03 -0000	1.39
+++ hal/arm/at91/var/current/ChangeLog	5 Mar 2007 17:03:02 -0000
@@ -1,3 +1,8 @@
+2007-03-05  Andrew Lunn <andrew.lunn@ascom.ch>
+
+	* include/var_io.h: Fix a few typos pointed out by
+	Igor B. Poretsky.
+	
 2007-02-13  John Eigelaar <jeigelaar@mweb.co.za>
  
  	* include/var_io.h: Fixed up the EMAC definitions to work
Index: hal/arm/at91/var/current/include/var_io.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/at91/var/current/include/var_io.h,v
retrieving revision 1.19
diff -u -r1.19 var_io.h
--- hal/arm/at91/var/current/include/var_io.h	20 Feb 2007 21:33:03 -0000	1.19
+++ hal/arm/at91/var/current/include/var_io.h	5 Mar 2007 17:03:06 -0000
@@ -520,7 +520,7 @@
 #define AT91_DBG_DRXD   AT91_PIN(0,0,27) // DBGU Receive Data 
 #define AT91_DBG_DTXD   AT91_PIN(0,0,28) // DBGU Transmit Data 
 #define AT91_INT_FIQ    AT91_PIN(0,0,29) // Fast Interrupt Request 
-#define AT91_INT_IRQ0   AT91_PIN(0,0,39) // Interrupt Request 0
+#define AT91_INT_IRQ0   AT91_PIN(0,0,30) // Interrupt Request 0
 
 //PIO controller A, peripheral B
 #define AT91_SPI1_NPCS1  AT91_PIN(0,1, 2) // SPI 1 Chip Select 1 
@@ -2529,20 +2529,20 @@
   HAL_ARM_AT91_GPIOX_CFG_INTERRUPT(_pin_, _enable_, 0, AT91_PIO);   \
   CYG_MACRO_END
 
-// Configure a GPIO pin to generate interrupts
+// Set a GPIO pin to one
 #define HAL_ARM_AT91_GPIO_SET(_pin_)                                \
   CYG_MACRO_START                                                   \
   HAL_ARM_AT91_GPIOX_SET(_pin_, 0, AT91_PIO);                       \
   CYG_MACRO_END
 
-// Configure a GPIO pin to generate interrupts
+// Reset a GPIO pin to zero
 #define HAL_ARM_AT91_GPIO_RESET(_pin_)                              \
   CYG_MACRO_START                                                   \
   HAL_ARM_AT91_GPIOX_RESET(_pin_, 0, AT91_PIO);                     \
   CYG_MACRO_END
 
-// Configure a GPIO pin to generate interrupts
-#define HAL_ARM_AT91_GPIO_GET(_pin_, _value_)                       \
+// Get the state of a GPIO pin
+#define HAL_ARM_AT91_GPIO_GET(_pin_, _value_)			     \
   CYG_MACRO_START                                                    \
   HAL_ARM_AT91_GPIOX_GET(_pin_, _value_, 0, AT91_PIO);               \
   CYG_MACRO_END
@@ -2592,7 +2592,7 @@
   HAL_ARM_AT91_GPIOX_RESET(_pin_, 1, AT91_PIOB);                    \
   CYG_MACRO_END
 
-// Configure a GPIO pin to generate interrupts
+// Get the state of a GPIO pin
 #define HAL_ARM_AT91_GPIO_GET(_pin_, _value_)                        \
   CYG_MACRO_START                                                    \
   HAL_ARM_AT91_GPIOX_GET(_pin_, _value_, 0, AT91_PIO);               \

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