diff for duplicates of <20180503183408.GA12152@kroah.com> diff --git a/a/1.txt b/N1/1.txt index afe4cad..415ff63 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,17 +1,17 @@ On Thu, May 03, 2018 at 08:08:48PM +0530, Muni Sekhar wrote: > Hi All, > -> I?m trying to understand how user mode buffer is written to low level +> I’m trying to understand how user mode buffer is written to low level > serial hardware registers. > > For this I read the kernel code and I came to know that from user mode -> write() API lands into kernel?s tty_write() ("drivers/tty/tty_io.c") +> write() API lands into kernel’s tty_write() ("drivers/tty/tty_io.c") > and then it calls a uart_write() ("drivers/tty/serial/serial_core.c"). > > In uart_write(), the buffer is copied to circ_buf and then it calls -> low level serial hardware driver?s start_tx() (struct uart_ops +> low level serial hardware driver’s start_tx() (struct uart_ops > .start_tx). But here I could not find how the buffer kept in circ_buf -> is copied to serial port?s TX_FIFO registers? +> is copied to serial port’s TX_FIFO registers? > > Can someone take a moment to explain me on this? diff --git a/a/content_digest b/N1/content_digest index f4b5a97..77adca3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,24 +1,27 @@ "ref\0CAHhAz+iPbNjeHH72Omi7VCUVL_cOUnQjrqbyJKQstUSL6J1hCw@mail.gmail.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0serial: start_tx & buffer handling\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: serial: start_tx & buffer handling\0" "Date\0Thu, 3 May 2018 11:34:08 -0700\0" - "To\0kernelnewbies@lists.kernelnewbies.org\0" + "To\0Muni Sekhar <munisekharrms@gmail.com>\0" + "Cc\0linux-serial <linux-serial@vger.kernel.org>" + linux-kernel@vger.kernel.org + " kernelnewbies <kernelnewbies@kernelnewbies.org>\0" "\00:1\0" "b\0" "On Thu, May 03, 2018 at 08:08:48PM +0530, Muni Sekhar wrote:\n" "> Hi All,\n" "> \n" - "> I?m trying to understand how user mode buffer is written to low level\n" + "> I\342\200\231m trying to understand how user mode buffer is written to low level\n" "> serial hardware registers.\n" "> \n" "> For this I read the kernel code and I came to know that from user mode\n" - "> write() API lands into kernel?s tty_write() (\"drivers/tty/tty_io.c\")\n" + "> write() API lands into kernel\342\200\231s tty_write() (\"drivers/tty/tty_io.c\")\n" "> and then it calls a uart_write() (\"drivers/tty/serial/serial_core.c\").\n" "> \n" "> In uart_write(), the buffer is copied to circ_buf and then it calls\n" - "> low level serial hardware driver?s start_tx() (struct uart_ops\n" + "> low level serial hardware driver\342\200\231s start_tx() (struct uart_ops\n" "> .start_tx). But here I could not find how the buffer kept in circ_buf\n" - "> is copied to serial port?s TX_FIFO registers?\n" + "> is copied to serial port\342\200\231s TX_FIFO registers?\n" "> \n" "> Can someone take a moment to explain me on this?\n" "\n" @@ -34,4 +37,4 @@ "\n" greg k-h -367b5c17afcb4f8586b591d0133325baaf3ae045191b2df034e8e7bb26c4b064 +2d6557348d01f4dbe12aa936bc831a4be908d1e8b722774996ba4a858f017366
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.