From owner-freebsd-current Fri Aug 25 23:47:35 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id XAA23486 for current-outgoing; Fri, 25 Aug 1995 23:47:35 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id XAA23478 for ; Fri, 25 Aug 1995 23:47:33 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA01663; Sat, 26 Aug 1995 08:47:29 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA23955; Sat, 26 Aug 1995 08:47:29 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id IAA09444; Sat, 26 Aug 1995 08:13:28 +0200 From: J Wunsch Message-Id: <199508260613.IAA09444@uriah.heep.sax.de> Subject: Re: That IDE CD ROM thang again... To: jdl@chromatic.com Date: Sat, 26 Aug 1995 08:13:27 +0200 (MET DST) Cc: freebsd-current@freebsd.org Reply-To: freebsd-current@freebsd.org In-Reply-To: <199508252319.SAA21812@chrome.onramp.net> from "Jon Loeliger" at Aug 25, 95 06:19:39 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 987 Sender: current-owner@freebsd.org Precedence: bulk As Jon Loeliger wrote: > > Well, I was never able to get my wdc1 controller recognized at all. > Don't know why yet. Since it's not a controller? Usually, a wdc "controller" will only be recognized if there's a disk attached, since it's actually the disk that is answering on the bus. > Turns out, I *did* have to byte-pair shuffle the ID string in order > to get real "english"here. > > Naturally though, it's not a hard disk. Apparently the "type" of > device is returned from an insw() call, vaguely like: I think it's in error to byte-shuffle only the ID string. Everything from the drive must be byte-swapped, including the ID word and all data. (Of course, you have to make a distinction whether to swap or not before.) Disclaimer: i don't own an ATAPI CD, and the only wdc-style drive i'm still operating sits in my notebook. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)