Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 1997 11:00:02 -0800 (PST)
From:      "Jin Guojun [ITG staff]" <jin@george.lbl.gov>
To:        freebsd-bugs
Subject:   Re: i386/5183: ATAPI driver bug
Message-ID:  <199712011900.LAA02738@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/5183; it has been noted by GNATS.

From: "Jin Guojun [ITG staff]" <jin@george.lbl.gov>
To: FreeBSD-gnats-submit@FreeBSD.ORG, junichi@astec.co.jp
Cc:  Subject: Re: i386/5183: ATAPI driver bug
Date: Mon, 1 Dec 1997 10:56:03 -0800

 >>Fix:
 > 
 >Because of the ATAPI driver, 'atapi.c',  works as AT_DRQT_INTR.
 >The ATAPI driver should work as AT_DRQT_MPROC.
 >        
 >Apply the following patch to /usr/src/sys/i386/isa/atapi.c
 > 
 > 
 >*** atapi.c.org Sun Jul 20 23:09:50 1997
 >--- atapi.c     Sun Nov 30 16:49:29 1997
 >***************
 >*** 217,222 ****
 >--- 217,225 ----
 >        case AT_DRQT_ACCEL: printf (", accel"); break;
 >        default:            printf (", drq%d", ap->drqtype);
 >        }
 >+       /* When 'slow' is set, 'intrcmd' is not acceptable. */
 >+       if (ata->slow && ata->intrcmd)
 >+               ata->intrcmd = 0;
 >  
 >        /* overlap operation supported */
 >        if (ap->ovlapflag)
 
 Comment for syntax:
 
 No need to check ata->intrcmd if 'slow' is set. Simply clear it.
 
 +	if (ata->slow)	/* When 'slow' is set, 'intrcmd' is not acceptable. */
 +		ata->intrcmd = 0;
 
 	-Jin



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