diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2009-06-03 13:42:28 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2009-06-03 13:42:28 +0000 |
commit | 6b2a7b73ca8ba542fd2cbd21c615933b99e293ba (patch) | |
tree | be1f22c1565b6e16079e8f09a60bc3899fc6b0a2 /target/linux/avr32/patches/001-fix_usart_clash.patch | |
parent | 3d3d75a2489789df49a4985600f5cd5cb95dbaf8 (diff) | |
download | master-31e0f0ae-6b2a7b73ca8ba542fd2cbd21c615933b99e293ba.tar.gz master-31e0f0ae-6b2a7b73ca8ba542fd2cbd21c615933b99e293ba.tar.bz2 master-31e0f0ae-6b2a7b73ca8ba542fd2cbd21c615933b99e293ba.zip |
upgrade to 2.6.30-rc8
SVN-Revision: 16307
Diffstat (limited to 'target/linux/avr32/patches/001-fix_usart_clash.patch')
-rw-r--r-- | target/linux/avr32/patches/001-fix_usart_clash.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/avr32/patches/001-fix_usart_clash.patch b/target/linux/avr32/patches/001-fix_usart_clash.patch new file mode 100644 index 0000000000..54657fd542 --- /dev/null +++ b/target/linux/avr32/patches/001-fix_usart_clash.patch @@ -0,0 +1,22 @@ +Fix clash in ATMEL_USART_ flags + +At the moment ATMEL_USART_{RTS,CTS,CLK} have the values +1, 2 and 3 respectively. Given these are used in bitmasks, +trying to turn on the CLK line will in fact turn on the +RTS and CTS lines as well. + +Change the value of ATMEL_USART_CLK to 4. + +Signed-off-by: Ben Nizette <bn@niasdigital.com> +--- +--- a/arch/avr32/mach-at32ap/include/mach/board.h ++++ b/arch/avr32/mach-at32ap/include/mach/board.h +@@ -29,7 +29,7 @@ extern struct platform_device *atmel_def + /* Flags for selecting USART extra pins */ + #define ATMEL_USART_RTS 0x01 + #define ATMEL_USART_CTS 0x02 +-#define ATMEL_USART_CLK 0x03 ++#define ATMEL_USART_CLK 0x04 + + struct atmel_uart_data { + short use_dma_tx; /* use transmit DMA? */ |