Re: Polled mode with device.hints

2002-11-30 Thread Nicolas Souchu
On Sun, Nov 24, 2002 at 01:08:51PM +0100, Marc Fonvieille wrote: > Hello, > > I'm currently updating some part of the Handbook for 5.X, and I need > to know how to put some ports like sio0 or ppc0 in polled mode. > > I did a search and tried some syntax like "0" for the irq etc. but no > way to p

Re: Polled mode with device.hints

2002-11-25 Thread Marc Fonvieille
On Mon, Nov 25, 2002 at 10:32:46PM +1100, Bruce Evans wrote: [...] > > "lptcontrol -i" and "lptcontrol -p" work for me under -current. They > presumably work because the driver sets up the interrupt for every > write(2) if interrupts are enabled. This used to cause panics because > a thread was

Re: Polled mode with device.hints

2002-11-25 Thread Bruce Evans
On Mon, 25 Nov 2002, Marc Fonvieille wrote: [polled mode for sio0 and ppc0] > But what about ppc0 ? I have to remove the IRQ line as well? > (sorry I can't test now) I don't know exactly (I rarely use it). > I also noted that lptcontrol(8) "does not" work under 4.X and 5.X. > It seems that sin

Re: Polled mode with device.hints

2002-11-25 Thread Marc Fonvieille
On Mon, Nov 25, 2002 at 05:37:49PM +1100, Bruce Evans wrote: > For sio, polled mode is configured by not creating an irq resource. > Leave the irq out of the device line in the config file for RELENG_4, > and don''t configure a hint for the irq in 5.x. This might not actually > work since PNP or A

Re: Polled mode with device.hints

2002-11-24 Thread Bruce Evans
On Sun, 24 Nov 2002, Marc Fonvieille wrote: > Hello, > > I'm currently updating some part of the Handbook for 5.X, and I need > to know how to put some ports like sio0 or ppc0 in polled mode. > > I did a search and tried some syntax like "0" for the irq etc. but no > way to put something in polled

Polled mode with device.hints

2002-11-24 Thread Marc Fonvieille
Hello, I'm currently updating some part of the Handbook for 5.X, and I need to know how to put some ports like sio0 or ppc0 in polled mode. I did a search and tried some syntax like "0" for the irq etc. but no way to put something in polled mode or to find an info on it. It's a "lack" of device.