Date: Thu, 16 Mar 1995 21:52:25 -0800 (PST) From: Poul-Henning Kamp <phk@ref.tfs.com> To: PVinci@ix.netcom.com (Paul Vinciguerra) Cc: hackers@FreeBSD.org Subject: Re: why does WD.C work?? Message-ID: <199503170552.VAA14760@ref.tfs.com> In-Reply-To: <199503170536.VAA16217@ix4.ix.netcom.com> from "Paul Vinciguerra" at Mar 16, 95 09:36:19 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <phk@login.dknet.dk> -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503170552.VAA14760>