summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox-1.11.3
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@epfl.ch>2008-12-08 14:43:23 +0100
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-12-08 14:43:23 +0100
commit5b1ed09b1ab1a60a28a76e4658bc9957cd361b5d (patch)
tree6ff0a0b7a22cacad61c72a434bf1d32b046402c2 /packages/busybox/busybox-1.11.3
parent8478d7a414bcc39f12e71ec4b9260604d0f5b20b (diff)
busybox: added support for 921600 speed of serial line
Diffstat (limited to 'packages/busybox/busybox-1.11.3')
-rw-r--r--packages/busybox/busybox-1.11.3/B921600.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/busybox/busybox-1.11.3/B921600.patch b/packages/busybox/busybox-1.11.3/B921600.patch
new file mode 100644
index 0000000000..61cc32b0e5
--- /dev/null
+++ b/packages/busybox/busybox-1.11.3/B921600.patch
@@ -0,0 +1,13 @@
+diff -upNr busybox-1.7.2/libbb/speed_table.c busybox-1.7.2-921600/libbb/speed_table.c
+--- busybox-1.7.2/libbb/speed_table.c 2007-09-03 13:48:41.000000000 +0200
++++ busybox-1.7.2-921600/libbb/speed_table.c 2008-10-09 16:23:26.269592899 +0200
+@@ -52,6 +52,9 @@ static const struct speed_map speeds[] =
+ #ifdef B460800
+ {B460800, 460800/256 + 0x8000U},
+ #endif
++#ifdef B921600
++ {B921600, 921600/256 + 0x8000U},
++#endif
+ };
+
+ enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };