Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 1997 11:20:37 -0700 (PDT)
From:      dmm125@bellatlantic.net
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/3395: sio2: not found, but there
Message-ID:  <199704271820.LAA21901@hub.freebsd.org>
Resent-Message-ID: <199704271830.LAA22236@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3395
>Category:       kern
>Synopsis:       sio2: not found, but there
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 27 11:30:01 PDT 1997
>Last-Modified:
>Originator:     Donn Miller
>Organization:
>Release:        2.2.1-RELEASE
>Environment:
i386 16MHz
>Description:
sio2 was configured for correct port and irq, but was not being
probed.  Turned on flags 0x80 to find failing routine.  Said probe
test 3 failed.  Tried adjusting DELAY() values before failure[3]
to no avail.
>How-To-Repeat:
just reboot with internal modem with correct irq and port address set
(proper sio? enabled, of course), in 2.2.1 RELEASE.
>Fix:
in /sys/i386/isa/sio.c, apply this patch:

DELAY(10000);           /* Some internal modems need this time */
        if (idev->id_irq != 0)
-                failures[3] = isa_irq_pending(idev) ? 0 : 1;
+                failures[3] = isa_irq_pending(idev) ? 1 : 0;
        failures[4] = (inb(iobase + com_iir) & IIR_IMASK) - IIR_TXRDY;

Anyhow, this is what my sio.c said.  In the above at '-', it is implying
that probe test 3 will fail if there is no irq pending, which is
the opposite of what we want.       
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704271820.LAA21901>