Subject: port-mac68k/6107: Endless "psc_lev4_noint: device 1" on AV Macs
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 09/05/1998 20:58:26
>Number:         6107
>Category:       port-mac68k
>Synopsis:       Endless "psc_lev4_noint: device 1" on AV Macs
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep  5 19:05:00 1998
>Last-Modified:
>Originator:     Dave Huang
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD-current as of September 5, 1998
>Environment:
	
System: NetBSD gedd.metonymy.com 1.3H NetBSD 1.3H (GEDD) #527: Sat Sep  5 20:46:52 CDT 1998     khym@dahan.metonymy.com:/usr/src.local/sys/arch/mac68k/compile/GEDD mac68k


>Description:
	Booting a recent kernel on an AV Mac will cause the kernel to
hang, printing an endless stream of "psc_lev4_noint: device 1"
whenever the serial port interrupts (the modem port, I guess).
>How-To-Repeat:
	Boot a recent kernel on an AV Mac (660av in my case, but an
840av should have the same problem). It'll probably occur very early
in the boot...
>Fix:
	The serial ports are at devices 1 and 2, not 2 and 3. (Device
3 is the MACE DMA completion interrupt)

--- /usr/src/sys/arch/mac68k/dev/zs.c	Wed Aug 12 06:09:59 1998
+++ zs.c	Sat Sep  5 20:46:25 1998
@@ -397,8 +397,8 @@
 	}
 
 	if (current_mac_model->class == MACH_CLASSAV) {
-		add_psc_lev4_intr(2, zshard, zsc);
-		add_psc_lev4_intr(3, zshard, zsc);
+		add_psc_lev4_intr(PSCINTR_SCCA, zshard, zsc);
+		add_psc_lev4_intr(PSCINTR_SCCB, zshard, zsc);
 	} else {
 		intr_establish(zshard, zsc, ZSHARD_PRI);
 	}

>Audit-Trail:
>Unformatted: