From owner-freebsd-hackers Mon Jan 26 21:29:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA08509 for hackers-outgoing; Mon, 26 Jan 1998 21:29:29 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA08498; Mon, 26 Jan 1998 21:29:12 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id PAA01603; Tue, 27 Jan 1998 15:51:15 +1030 (CST) Message-Id: <199801270521.PAA01603@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Alex Le Heux cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: strangeness in atapi.c? In-reply-to: Your message of "Tue, 27 Jan 1998 05:43:41 BST." <19980127054341.62282@funk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 27 Jan 1998 15:51:13 +1030 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > While going through atapi.c on my 2.2.5 system, attempting to find out > what's wrong with my ATAPI Zipdrive, I found the following: You could upgrade to -stable, which contains the wfd driver which (almost) works with the ATAPI Zip. Large writes (appear to) cause the drive to lock up. > case AT_TYPE_DIRECT: /* direct-access */ > case AT_TYPE_CDROM: /* CD-ROM device */ > #if NWCD > 0 > /* ATAPI CD-ROM */ > [etc] > > This seems to mean that any device that is AT_TYPE_DIRECT (like the Zipdrive) > will get attached as a cdrom. Is this correct? If so, why? Some old (broken) CDROMs report themselves incorrectly. If you are interested in working out what's wrong with the wfd driver, please drop me a line off the list and I can bring you up to speed. If you have the bits and some time it should be fairly straightforward. (It is trivial to retrofit the wfd driver into 2.2.5; see www.jp.freebsd.org/~junichi) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\