Re: [PARPORT] Re: lpr problems in 2.0->2.1?


Tim Waugh (tim@cyberelk.demon.co.uk)
Mon, 9 Feb 1998 19:41:57 +0000 (GMT)


On Mon, 9 Feb 1998, [ISO-8859-1] Trond Eivind Glomsrød wrote:

> Interrupt - I've tried specifying io only in conf.modules:
>
> options parport_pc io=0x378
>
> but that didn't help.

Oh, looking again at the code it seems that you have to specify IRQ in
order for it not to autoprobe. You *should* have to put

        options parport_pc io=0x378 irq=-1

in your conf.modules, but there appears to be a bug. Patch included.

In the meantime, try "options parport_pc io=0x378 irq=-2".

Tim.
*/

--- /big/linux-2.1.85/include/linux/parport.h Tue Jan 27 08:51:00 1998
+++ linux/include/linux/parport.h Mon Feb 9 19:36:32 1998
@@ -15,10 +15,10 @@
 #define PARPORT_MAX 8
 
 /* Magic numbers */
-#define PARPORT_IRQ_NONE -2
-#define PARPORT_DMA_NONE -2
-#define PARPORT_IRQ_AUTO -1
-#define PARPORT_DMA_AUTO -1
+#define PARPORT_IRQ_NONE -1
+#define PARPORT_DMA_NONE -1
+#define PARPORT_IRQ_AUTO -2
+#define PARPORT_DMA_AUTO -2
 #define PARPORT_DISABLE -2
 
 /* Define this later. */

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:27 EST