Re: BusLogic-1.2.2 / Linux 1.2.13 compile error

Leonard N. Zubkoff (lnz@dandelion.com)
Thu, 25 Apr 1996 07:56:33 -0700


Date: Wed, 24 Apr 96 21:27 CDT
From: jms@pobox.com

I've tried MANY kernel builds with different patch configurations. The
BusLogic 1.2.2 driver and the linux-elf patch seem to be mutually-exclusive.

The following additional patch should resolve this problem. I'll figure out
how to package this up tonight.

Leonard

--- linux/include/asm-i386/irq.h- Tue Mar 5 20:08:44 1996
+++ linux/include/asm-i386/irq.h Thu Apr 25 07:45:00 1996
@@ -168,21 +168,21 @@
asmlinkage void BAD_IRQ_NAME(nr); \
__asm__( \
"\n.align 4\n" \
-"_fast_IRQ" #nr "_interrupt:\n\t" \
-"_bad_IRQ" #nr "_interrupt:\n\t" \
-"_IRQ" #nr "_interrupt:\n\t" \
+"fast_IRQ" #nr "_interrupt:\n\t" \
+"bad_IRQ" #nr "_interrupt:\n\t" \
+"IRQ" #nr "_interrupt:\n\t" \
"pushl $-"#nr"-2\n\t" \
SAVE_ALL \
ACK_##chip(mask) \
- "incl _intr_count\n\t"\
+ "incl intr_count\n\t"\
"movl %esp,%ebx\n\t" \
"pushl %ebx\n\t" \
"pushl $" #nr "\n\t" \
- "call _do_IRQ\n\t" \
+ "call do_IRQ\n\t" \
"addl $8,%esp\n\t" \
"cli\n\t" \
UNBLK_##chip(mask) \
- "decl _intr_count\n\t" \
+ "decl intr_count\n\t" \
"jmp ret_from_sys_call\n");

#endif