lkml.org 
[lkml]   [1998]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: tulip driver in 2.1.11* - 2.1.21 is broken - new driver


On Fri, 18 Sep 1998 kuznet@ms2.inr.ac.ru wrote:
>
> "tbusy" was never used as lock (at least in tulip.c)
> Transmitter is locked by bh_atomic in normal mode,
> and by tx_semaphore in fastroute mode.

Btw, can we get rid of all the "dev->tbusy" and "dev->interrupt" flags,
and just use a regular spinlock or something around each driver?

dev->tbusy has always been a bug, with no redeeming features. It's really
only a way to say "yes, I have a bug, and I want to know about it" instead
of fixing the problem properly.

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.219 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site