Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 96 14:52:50 PST
From:      "Brett Glass" <Brett_Glass@ccgate.infoworld.com>
To:        Bruce Evans <bde@zeta.org.au>, bde@zeta.org.au, msmith@atrad.adelaide.edu.au
Cc:        hardware@FreeBSD.org, jkh@time.cdrom.com
Subject:   Re: Some solutions to disk problems.... I think.
Message-ID:  <9603048286.AA828655952@ccgate.infoworld.com>

next in thread | raw e-mail | index | archive | help
> They're there but not exposed by userconfig.  This must be why the
> controller flags are abused to hold the drive flags.  The final
> flags are:

> drive 0: 32 bits of compile-time configurable drive flags
>          | 16 low bits of configurable controller flags
> drive 1: 32 bits of compile-time configurable drive flags
>          | (16 high bits of configurable controller flags >> 16)

Exactly. I found these while browsing through the code. My changes to wd.c
use two controller flags to indicate the desire to turn off inactivity
timeouts, and one flag in each drive's hidden drive word to indicate
success (so that status can be checked and/or reported later). It'd be nice
to use just the drive flags, but there has to be a way for the user to set
or clear the option on a per-drive basis.

--Brett




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9603048286.AA828655952>