Re: New kernel newbie column is up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 18 Aug 2009, Matthias Kaehlcke wrote:

... snip ...

> some time ago i had a similar (the same?) problem, trying to debug
> an ARM device using kgdb. in my case the problem was that the serial
> port driver (AMBA PL010) lacked the poll_get_char() and
> poll_put_char() operations, which seem to be necessary for debugging
> over console.
>
> if you happen to use a device with AMBA PL010 try again after
> applying the patch below. otherwise you might want to check if the
> driver of your serial port implements the poll functions
>
> diff --git a/drivers/serial/amba-pl010.c b/drivers/serial/amba-pl010.c
> index 58a4879..4b27537 100644
> --- a/drivers/serial/amba-pl010.c
> +++ b/drivers/serial/amba-pl010.c
> @@ -308,6 +308,32 @@ static void pl010_break_ctl(struct uart_port *port, int break_state)
>  	spin_unlock_irqrestore(&uap->port.lock, flags);

  perhaps a dumb question, but where is that source file?  it's not in
the current linux git tree.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux