summaryrefslogtreecommitdiffstats
path: root/include/console.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:17 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:17 +0200
commite74a1633aa3f33e9149c427b431915988ceedbce (patch)
treeeb7d6d632a0d5fca2be351250447158fdb8308bb /include/console.h
parent31d3ca035475ae9933d4398e56a170384fb9693f (diff)
downloadbarebox-e74a1633aa3f33e9149c427b431915988ceedbce.tar.gz
barebox-e74a1633aa3f33e9149c427b431915988ceedbce.tar.xz
svn_rev_686
implement console baudrate switching
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index d6e2fb55ce..a5b585d112 100644
--- a/include/console.h
+++ b/include/console.h
@@ -36,11 +36,16 @@ struct console_device {
int (*tstc)(struct console_device *cdev);
void (*putc)(struct console_device *cdev, char c);
int (*getc)(struct console_device *cdev);
+ int (*setbrg)(struct console_device *cdev, int baudrate);
+
struct console_device *next;
unsigned char f_caps;
unsigned char f_active;
+ struct param_d baudrate_param;
+ char baudrate_string[8];
+
struct param_d active_param;
char active[4];
};