Re: PLIP is still broken :(

1999-07-27 Thread Garrett Wollman
On Mon, 26 Jul 1999 20:30:38 +0200, Poul-Henning Kamp [EMAIL PROTECTED] said: This is also something that should be changed since we are to modify things anyway, it introduces un-needed delays (and jitter) in the interrupt delivery. Plus, the resource manager has built-in hooks to manage

Re: PLIP is still broken :(

1999-07-26 Thread Nicolas Souchu
On Mon, Jul 26, 1999 at 05:04:42AM +1000, Bruce Evans wrote: Otherwise, the generic code is missing mainly update of the interrupt masks when an interrupt is unregistered. For the low level side, we could consider something like the following code. But this shall be called by the nexus layer

Re: PLIP is still broken :(

1999-07-25 Thread Bruce Evans
Otherwise, the generic code is missing mainly update of the interrupt masks when an interrupt is unregistered. For the low level side, we could consider something like the following code. But this shall be called by the nexus layer and then needs generic newbus support (as you said above, didn't

Re: PLIP is still broken :(

1999-07-24 Thread Bruce Evans
Possible quick fix (hack): change all the spltty()'s in lpt.c to splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing splnet() instead should work OK for lpt and fix if_plip. This seems good until the intr stuff handle dynamic update of a interrupt spl. Is there some work in

Re: PLIP is still broken :(

1999-07-22 Thread Maxim Sobolev
Bruce Evans wrote: Possible quick fix (hack): change all the spltty()'s in lpt.c to splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing splnet() instead should work OK for lpt and fix if_plip. It doesn't help much because I'm not using lpt device in my kernel so lpt.c

Re: PLIP is still broken :(

1999-07-22 Thread Dag-Erling Smorgrav
Maxim Sobolev [EMAIL PROTECTED] writes: Bruce Evans wrote: Possible quick fix (hack): change all the spltty()'s in lpt.c to splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing splnet() instead should work OK for lpt and fix if_plip. It doesn't help much because I'm not

Re: PLIP is still broken :(

1999-07-22 Thread Maxim Sobolev
Dag-Erling Smorgrav wrote: Maxim Sobolev [EMAIL PROTECTED] writes: Bruce Evans wrote: Possible quick fix (hack): change all the spltty()'s in lpt.c to splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing splnet() instead should work OK for lpt and fix if_plip. It

Re: PLIP is still broken :(

1999-07-22 Thread Bruce Evans
Possible quick fix (hack): change all the spltty()'s in lpt.c to splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing splnet() instead should work OK for lpt and fix if_plip. What about vpo? vpo uses only polled mode. I think its "interrupt" handler is attached to a cam

Re: PLIP is still broken :(

1999-07-21 Thread Mike Smith
The problem with PLIP is that it tries to do splnet stuff in at spltty. If you force the parallell port driver to run at splnet, PLIP works but you get panics when you print because it tries to do spltty stuff at splnet. Possible quick fix (hack): change all the spltty()'s in lpt.c to

Re: PLIP is still broken :(

1999-07-19 Thread Poul-Henning Kamp
This is actually a deficiency in the ppbus stuff, there is no telling what SPL level the subdriver wants to use, so the interrupt should actually be released back to the system when no subdrivers are open and be grabbed the way the subdriver wants it once it aquires the bus. The ZIP driver

Re: PLIP is still broken :(

1999-07-19 Thread Bruce Evans
You misunderstood what Bruce wrote. PLIP has always been broken. It used to be possible to hack around the brokenness by setting the interrupt mask to net instead of tty. With newbus, this hack is no longer possible (it was never correct anyway; it broke printing). Or by statically configuring

Re: PLIP is still broken :(

1999-07-18 Thread Maxim Sobolev
David O'Brien wrote: Does anybody have a plans to fix plip code which is broken a quite awhile (several months or so)? Since I used it just last week on two -CURRENT boxes, I'd say there is some other problem you are experecing. I'm also using two -current boxes (P133 and K6-2/300) and

Re: PLIP is still broken :(

1999-07-18 Thread David O'Brien
Does anybody have a plans to fix plip code which is broken a quite awhile (several months or so)? Since I used it just last week on two -CURRENT boxes, I'd say there is some other problem you are experecing. -- -- David([EMAIL PROTECTED] -or- [EMAIL PROTECTED]) To Unsubscribe: send