12 void (*setbrg
) (void);
15 void (*putc
) (const char c
);
16 void (*puts
) (const char *s
);
18 struct serial_device
*next
;
21 extern struct serial_device serial_smc_device
;
22 extern struct serial_device serial_scc_device
;
23 extern struct serial_device
* default_serial_console (void);
25 #if defined(CONFIG_405GP) || defined(CONFIG_405CR) || defined(CONFIG_440) || \
26 defined(CONFIG_405EP) || defined(CONFIG_405EZ) || defined(CONFIG_405EX) || \
27 defined(CONFIG_MPC5xxx)
28 extern struct serial_device serial0_device
;
29 extern struct serial_device serial1_device
;
30 #if defined(CONFIG_SYS_NS16550_SERIAL)
31 extern struct serial_device eserial1_device
;
32 extern struct serial_device eserial2_device
;
33 extern struct serial_device eserial3_device
;
34 extern struct serial_device eserial4_device
;
35 #endif /* CONFIG_SYS_NS16550_SERIAL */
39 #if defined(CONFIG_S3C2410)
40 extern struct serial_device s3c24xx_serial0_device
;
41 extern struct serial_device s3c24xx_serial1_device
;
42 extern struct serial_device s3c24xx_serial2_device
;
45 extern struct serial_device serial_ffuart_device
;
46 extern struct serial_device serial_btuart_device
;
47 extern struct serial_device serial_stuart_device
;
49 extern void serial_initialize(void);
50 extern void serial_devices_init(void);
51 extern int serial_assign(char * name
);
52 extern void serial_reinit_all(void);