summaryrefslogtreecommitdiff
path: root/drivers/char/ds1302.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-05-19 22:15:50 -0600
committerRusty Russell <rusty@rustcorp.com.au>2010-05-19 22:15:50 +0930
commitcdfadfc1adb87fc7e8a631b1f299715feacbde90 (patch)
treefc7ace0ea80df94ed85176c493d9ae341f146b9d /drivers/char/ds1302.c
parent60caacd3eeab68672961e88db01e26735527d521 (diff)
virtio: console: Add support for nonblocking write()s
If the host port is not open, a write() should either just return if the file is opened in non-blocking mode, or block till the host port is opened. Also, don't spin till host consumes data for nonblocking ports. For non-blocking ports, we can do away with the spinning and reclaim the buffers consumed by the host on the next write call or on the condition that'll make poll return. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char/ds1302.c')
0 files changed, 0 insertions, 0 deletions