From 7d01bddd188fbc4bed66f137c1a1ddda572f234d Mon Sep 17 00:00:00 2001 From: kaloz Date: Wed, 3 Jun 2009 13:42:28 +0000 Subject: upgrade to 2.6.30-rc8 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16307 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/avr32/patches/001-fix_usart_clash.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 target/linux/avr32/patches/001-fix_usart_clash.patch (limited to 'target/linux/avr32/patches/001-fix_usart_clash.patch') 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 000000000..54657fd54 --- /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 +--- +--- 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? */ -- cgit v1.2.3