X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fserial%2Fdriver;h=77ba0afbe4db2c227650441af43ab3c57f2e5a6f;hb=7a76d89232f20411f32e7a79ccc1e2f95e9f826b;hp=88ad615dd338d75e2b282422c8f2d6f7f3af80b7;hpb=59f720eb5a4337b2c4fc0b4c6cfd9c144e492aa8;p=linux-2.6 diff --git a/Documentation/serial/driver b/Documentation/serial/driver index 88ad615dd3..77ba0afbe4 100644 --- a/Documentation/serial/driver +++ b/Documentation/serial/driver @@ -186,6 +186,17 @@ hardware. Locking: port_sem taken. Interrupts: caller dependent. + flush_buffer(port) + Flush any write buffers, reset any DMA state and stop any + ongoing DMA transfers. + + This will be called whenever the port->info->xmit circular + buffer is cleared. + + Locking: port->lock taken. + Interrupts: locally disabled. + This call must not sleep + set_termios(port,termios,oldtermios) Change the port parameters, including word length, parity, stop bits. Update read_status_mask and ignore_status_mask to indicate