From owner-freebsd-hackers Sun Feb 2 08:28:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA24177 for hackers-outgoing; Sun, 2 Feb 1997 08:28:32 -0800 (PST) Received: from csd.cs.technion.ac.il (csd.cs.technion.ac.il [132.68.32.8]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA24170 for ; Sun, 2 Feb 1997 08:28:22 -0800 (PST) Received: from localhost (nadav@localhost) by csd.cs.technion.ac.il (8.6.11/8.6.10) with SMTP id SAA22968; Sun, 2 Feb 1997 18:23:55 +0200 X-Authentication-Warning: csd.cs.technion.ac.il: nadav owned process doing -bs Date: Sun, 2 Feb 1997 18:23:54 +0200 (IST) From: Nadav Eiron X-Sender: nadav@csd To: Wolfgang Helbig cc: hackers@FreeBSD.ORG Subject: Re: CMD640b flaw workaround In-Reply-To: <199702021530.QAA00202@helbig.informatik.ba-stuttgart.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by freefall.freebsd.org id IAA24173 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 2 Feb 1997, Wolfgang Helbig wrote: > Hi, > > This is a patch for wd.c to make the broken CMD640b work with both > IDE channels under FreeBSD. > I tested it with ATAPI-CDROM - HD's on both channels and also with > HD's an both channels. > > You have to put > options "CMD640" > in your kernel configuration file to enable the needed serialization > for the CMD640. Sorry Jörg, I know I should have used the driver flags, > but this is a snapshot anyway. I guess the best way to enable this code > is to use the pci-probing. It does recognize the CMD640. > > Please test this patch and tell about the results. > > Wolfgang Helbig > > [patch snipped] Cool! Will this work under 2.1.6R (yeah, I know, but it's a "production" machine, and while we are working on an upgrade to SCSI, it currently has a CMD640)? Nadav