Re: Netgraph, device drivers and mutexes

2002-03-05 Thread Maksim Yevmenkin
Julian, > On Mon, 4 Mar 2002, Julian Elischer wrote: > > > > > > > On Mon, 4 Mar 2002, Maksim Yevmenkin wrote: > > > > > Julian, > > > > > > thank you very much for a such detailed answer :) > > > > > > [...] > > > > > I just checked in some generic timeout routines into ng_base.c > in -current

Re: Netgraph, device drivers and mutexes

2002-03-05 Thread Julian Elischer
On Mon, 4 Mar 2002, Julian Elischer wrote: > > > On Mon, 4 Mar 2002, Maksim Yevmenkin wrote: > > > Julian, > > > > thank you very much for a such detailed answer :) > > > > [...] > > I just checked in some generic timeout routines into ng_base.c in -current. have a look and see if the

Re: Netgraph, device drivers and mutexes

2002-03-04 Thread Julian Elischer
On Mon, 4 Mar 2002, Maksim Yevmenkin wrote: > Julian, [...] > > speaking of ng_tty... it is clear to me how to inject data into Netgraph > in a safe way, but it is not yet clear how Netgraph can inject data into > other subsystems. > > you see, the Bluetooth spec defines several Host (PC) to

Re: Netgraph, device drivers and mutexes

2002-03-04 Thread Maksim Yevmenkin
Julian, [...] > > > I hope that this helps you! > > > > yes it did help :) i changed my code and it seems to work just fine. > > i wish i had SMP laptop to test it :) > > Well it aint exactly SMP safe YET, until I make those changes through teh > REST of the system. There are still direct timeo

Re: Netgraph, device drivers and mutexes

2002-03-04 Thread Julian Elischer
On Mon, 4 Mar 2002, Maksim Yevmenkin wrote: > Julian, > > thank you very much for a such detailed answer :) > > [...] > > > I hope that this helps you! > > yes it did help :) i changed my code and it seems to work just fine. > i wish i had SMP laptop to test it :) Well it aint exactly S

Re: Netgraph, device drivers and mutexes

2002-03-04 Thread Maksim Yevmenkin
Julian, thank you very much for a such detailed answer :) [...] > I hope that this helps you! yes it did help :) i changed my code and it seems to work just fine. i wish i had SMP laptop to test it :) thanks, max To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-cur

Re: Netgraph, device drivers and mutexes

2002-03-03 Thread Julian Elischer
z on one machine is readable by 'cat' on teh other machine :-) > > i have some (probably stupid) questions about Netgraph, > device drivers and mutexes. i'm using -current as of this > weekend. > > i have written draft version of the driver for 3com/HP > Bl

Netgraph, device drivers and mutexes

2002-03-03 Thread Maksim Yevmenkin
Hackers, i have some (probably stupid) questions about Netgraph, device drivers and mutexes. i'm using -current as of this weekend. i have written draft version of the driver for 3com/HP Bluetooth Card (PC-Card). the driver is a pure Netgraph node, i.e. no device nor network inte