Re: [PARPORT] sneak preview

Andrea Arcangeli (
Sun, 30 Nov 1997 15:43:18 +0100 (CET)

On Sat, 29 Nov 1997, Philip Blundell wrote:

>I just sent the appended patch to Linus, so hopefully it will show up in
>the kernel sometime soon. If anybody wants to try it in the meantime,
>feel free to let me know how you get on.
>Andrea, it would help if you could the next iteration of your lp changes
>relative to this.

Sure, but this patch probably will not work under 2.1.67 because
resched_needed() don' t exists there:

arca:/root/linux$ grep SUBLEVEL Makefile | head -1
arca:/root/linux$ find -name \*.[ch] | xargs grep resched_needed
../arch/sparc/kernel/process.c: if(!smp_commenced ||
../arch/sparc/ap1000/aplib.c: if (resched_needed())
../arch/mips/kernel/syscall.c: if (wait_available &&
../arch/ppc/kernel/idle.c: if ( resched_needed() )
../arch/ppc/kernel/idle.c: if ( resched_needed() )
../arch/m68k/kernel/process.c: if (!resched_needed())
../arch/sparc64/kernel/process.c: if(resched_needed())

Why haven' t changed AUTO with LP_AUTO and so on...

@@ -64,6 +64,11 @@
 #undef LP_DEBUG
+/* Magic numbers */
+#define AUTO -3
+#define OFF -2
+#define UNSPEC -1
 static inline void lp_parport_release (int minor)

Andrea[s] Arcangeli

-- To unsubscribe, send mail to: --
-- 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:08 EST