Subject: Re: 1.4ALPHA on LCII
To: Robert Billings <rbilling@aros.net>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 04/18/1999 13:57:17
Robert Billings wrote:
> I posted this problem a couple of weeks ago. I just finally had enough time 
> to compile the kernel today. (it took nearly 11 hours to complete) I'm 
> happy to test the patch but am a little limited on time. It still hangs in 
> the same place.  As far as making sound goes, yes it has made noise with 
> the previous kernels, the normal beeps and stuff.

well, fortunately, recompiling the kernel with the patch shouldn't take
more than about 10 minutes :-)

the patch is attached below.  save it to a file (in this example,
asc.c.diff).  don't cut and paste it, or it won't apply cleanly.  to get
the patch working, do the following:

1) cd sys/arch/mac68k/obio
2) patch < /path/to/asc.c.diff
3) make sure that all "hunks" succeeded
4) cd ../compile/KERNELNAME
5) make

then you'll have a kernel which will hopefully work on your machine.
basically what i've done is to comment out the section of the attach
routine which turns on ASC interrupts.  since we don't currently do
anything with ASC interrupts, there's no real reason to have them on at
the moment anyway.

please let me know how it goes.

later.

colin

----------------------------- cut here -----------------------------------
--- asc.c.orig	Sun Apr 18 13:50:03 1999
+++ asc.c	Sun Apr 18 13:50:25 1999
@@ -186,9 +186,10 @@
 	printf("\n");
 
 	mac68k_set_bell_callback(asc_ring_bell, sc);
-
+#if 0
 	via2_register_irq(VIA2_ASC, asc_intr, sc);
 	asc_intr_enable();
+#endif
 }
 
 int