summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/eject/eject/eject-timeout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/eject/eject/eject-timeout.patch')
-rw-r--r--meta-oe/recipes-support/eject/eject/eject-timeout.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/eject/eject/eject-timeout.patch b/meta-oe/recipes-support/eject/eject/eject-timeout.patch
new file mode 100644
index 000000000..de8146f32
--- /dev/null
+++ b/meta-oe/recipes-support/eject/eject/eject-timeout.patch
@@ -0,0 +1,17 @@
1allow a longer timeout
2
3Upstream-Status: Backport
4
5Signed-off-by: Morgan Little <morgan.little@windriver.com>
6
7--- eject/eject.c.orig 2006-08-07 16:35:15.000000000 +0200
8+++ eject/eject.c 2006-08-07 16:35:54.000000000 +0200
9@@ -723,7 +723,7 @@
10 io_hdr.dxfer_len = 0;
11 io_hdr.dxferp = inqBuff;
12 io_hdr.sbp = sense_buffer;
13- io_hdr.timeout = 2000;
14+ io_hdr.timeout = 10000;
15
16 io_hdr.cmdp = allowRmBlk;
17 status = ioctl(fd, SG_IO, (void *)&io_hdr);