From owner-freebsd-hackers Thu Mar 16 21:53:03 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA15741 for hackers-outgoing; Thu, 16 Mar 1995 21:53:03 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA15726 for ; Thu, 16 Mar 1995 21:53:01 -0800 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id VAA14760; Thu, 16 Mar 1995 21:52:25 -0800 From: Poul-Henning Kamp Message-Id: <199503170552.VAA14760@ref.tfs.com> Subject: Re: why does WD.C work?? To: PVinci@ix.netcom.com (Paul Vinciguerra) Date: Thu, 16 Mar 1995 21:52:25 -0800 (PST) Cc: hackers@FreeBSD.org In-Reply-To: <199503170536.VAA16217@ix4.ix.netcom.com> from "Paul Vinciguerra" at Mar 16, 95 09:36:19 pm Content-Type: text Content-Length: 837 Sender: hackers-owner@FreeBSD.org Precedence: bulk > What I see, is that the wdparam structure is wrong according to table 12 > of ATA. eg. > word 0 General Config. > word 1 # logical Cyl. > word 2 reserved > word 3 # logical heads. > but wdparam looks like: > > struct wdparams { > /* drive info */ > short wdp_config; /* general configuration */ > short wdp_fixedcyl; /* number of non-removable > Cylinders */ > short wdp_removcyl; /* number of removable cylinders */ > short wdp_heads; /* number of heads */ > short wdp_unfbytespertrk; /* number of unformatted > bytes/track */ The "reserved" field was indeed at one time intended to be used for "removable" cylinders... -- Poul-Henning Kamp -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant'