Thanks for the patch, Sergei.
    I have committed it to CVS.
-Milind

Sergei Shtylyov wrote:
> This patch gets rid of annoying (and seemingly unavoidable) messages emitted
> by the 8139too driver when using it for KGDBoE.  It also makes KGDBoE work at
> least somehow on my PowerPC board -- without it cross-gdb just doesn't 
> connect.
>
> Signed-off-by: Sergei Shtylyov <[EMAIL PROTECTED]>
>
> ---
> Even with this patch, the packets probably get stuck somewhere in the driver,
> as cross-gdb sees tail of the $g packet reply only in reply to next packet...
>
>  drivers/net/8139too.c |    2 ++
>  1 files changed, 2 insertions(+)
>
> Index: linux-2.6/drivers/net/8139too.c
> ===================================================================
> --- linux-2.6.orig/drivers/net/8139too.c
> +++ linux-2.6/drivers/net/8139too.c
> @@ -1802,11 +1802,13 @@ static void rtl8139_tx_interrupt (struct
>       }
>  
>  #ifndef RTL8139_NDEBUG
> +#ifndef CONFIG_KGDBOE
>       if (tp->cur_tx - dirty_tx > NUM_TX_DESC) {
>               printk (KERN_ERR "%s: Out-of-sync dirty pointer, %ld vs. 
> %ld.\n",
>                       dev->name, dirty_tx, tp->cur_tx);
>               dirty_tx += NUM_TX_DESC;
>       }
> +#endif /* CONFIG_KGDBOE */
>  #endif /* RTL8139_NDEBUG */
>  
>       /* only wake the queue if we did work, and the queue is stopped */
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Kgdb-bugreport mailing list
> Kgdb-bugreport@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
>
>
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to