Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191725
b: refs/heads/master
c: e8faff7
h: refs/heads/master
i:
  191723: 7c7e4a8
v: v3
  • Loading branch information
Claudio Scordino authored and Russell King committed May 4, 2010
1 parent ffd4e82 commit be04fa3
Show file tree
Hide file tree
Showing 4 changed files with 182 additions and 38 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aec9562f3db8ece218125042e0b2b7ac5b7091e7
refs/heads/master: e8faff7330a3501eafc9bfe5f4f15af444be29f5
3 changes: 3 additions & 0 deletions trunk/arch/arm/include/asm/ioctls.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */

#define TIOCGRS485 0x542E
#define TIOCSRS485 0x542F

#define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
#define FIOCLEX 0x5451
#define FIOASYNC 0x5452
Expand Down
8 changes: 5 additions & 3 deletions trunk/arch/arm/mach-at91/include/mach/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <linux/usb/atmel_usba_udc.h>
#include <linux/atmel-mci.h>
#include <sound/atmel-ac97c.h>
#include <linux/serial.h>

/* USB Device */
struct at91_udc_data {
Expand Down Expand Up @@ -143,9 +144,10 @@ extern struct platform_device *atmel_default_console_device;
extern void __init __deprecated at91_init_serial(struct at91_uart_config *config);

struct atmel_uart_data {
short use_dma_tx; /* use transmit DMA? */
short use_dma_rx; /* use receive DMA? */
void __iomem *regs; /* virtual base address, if any */
short use_dma_tx; /* use transmit DMA? */
short use_dma_rx; /* use receive DMA? */
void __iomem *regs; /* virt. base address, if any */
struct serial_rs485 rs485; /* rs485 settings */
};
extern void __init at91_add_device_serial(void);

Expand Down
Loading

0 comments on commit be04fa3

Please sign in to comment.