Subject: port-i386/5128: ahc_isa displays wrong interrupt value, when card has wrong value conf.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hwr@bsd.de>
List: netbsd-bugs
Date: 03/07/1998 14:24:29
>Number: 5128
>Category: port-i386
>Synopsis: <hc_isa displays wrong interrupt value, when card has wrong value conf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 7 05:35:00 1998
>Last-Modified:
>Originator: Heiko Rupp
>Organization:
>Release: 1.3C
>Environment:
System: NetBSD jonny2.klicman.de 1.3C NetBSD 1.3C (JONNY2) #6: Wed Feb 18 17:36:45 MET 1998 bad@jonny2.klicman.de:/sys/arch/i386/compile/JONNY2 i386
>Description:
When a AHA2842 controller has for some reasons a bad vlaue on board,
ahc_isa_irq displays 'illegal irq setting: X' with X being a value
outside the isa irq range (e.g. 229)
>How-To-Repeat:
look at ahc_isa_irq:
intdef = bus_space_read_1(iot, ioh, INTDEF);
switch (irq = (intdef & 0xf)) {
default:
printf("ahc_isa_irq: illegal irq setting %d\n", intdef);
/* $NetBSD: ahc_isa.c,v 1.9 1997/10/20 20:07:57 thorpej Exp $ */
>Fix:
printf("ahc_isa_irq: illegal irq setting %d\n", irq);
>Audit-Trail:
>Unformatted: