public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andries.Brouwer@cwi.nl
To: aeb@veritas.com, andre@linux-ide.org
Cc: linux-kernel@vger.kernel.org, tai@imasy.or.jp
Subject: Re: [PATCH] Large "clipped" IDE disk support for 2.4 when using old BIOS
Date: Mon, 20 Nov 2000 15:19:02 +0100 (MET)	[thread overview]
Message-ID: <UTC200011201419.PAA132679.aeb@aak.cwi.nl> (raw)

    From andre@linux-ide.org Mon Nov 20 12:29:59 2000

    Andries,

    Don't you mean

    (drive->id->cfs_enable_1 & 0x0400)        word85
    and not
    (drive->id->command_set_1 & 0x0400)        word82

    Because when bit 10 of word 85 is not set then clip or HPArea is not enabled.

I saw no reason to complain about that part.

As far as I can see, ATA4 and ATA5 both require these two bits
to be identical. (Note that ATA4 has "supported" both in text
and table in both places, while ATA5 has "supported" in three
places and "enabled" in one. My preliminary ATA6 drafts do not differ.
And for example, there is no Set Features subcommand to enable/disable
the Host Protected Area feature. Maybe you have more recent drafts that
do allow disabling this feature?)

A small detail that might be improved is that one is only allowed to look
at this bit when words 83 and 84 have bit 15 equal to 0 and bit 14 equal to 1.
(Or, in case you prefer looking at word 85, bit 15 of word 87
must be 0 and bit 14 must be 1.)

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

             reply	other threads:[~2000-11-20 14:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-20 14:19 Andries.Brouwer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-11-19 22:41 [PATCH] Large "clipped" IDE disk support for 2.4 when using oldBIOS Dan Aloni
2000-11-19 23:11 ` [PATCH] Large "clipped" IDE disk support for 2.4 when using old BIOS Taisuke Yamada
2000-11-19 23:38   ` Dan Aloni
2000-11-20  0:01     ` Andre Hedrick
2000-11-20  0:17       ` Dan Aloni
2000-11-18 19:30 Taisuke Yamada
2000-11-18 20:05 ` Andre Hedrick
2000-11-19 16:41 ` Dan Aloni
2000-11-19 16:51   ` Andre Hedrick
2000-11-19 17:24 ` Andries Brouwer
2000-11-19 22:30   ` Taisuke Yamada
     [not found]     ` <20001120032615.A1540@veritas.com>
2000-11-20 11:28       ` Andre Hedrick
2000-11-20 11:59       ` T. Yamada
2000-11-20 12:02         ` Andre Hedrick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=UTC200011201419.PAA132679.aeb@aak.cwi.nl \
    --to=andries.brouwer@cwi.nl \
    --cc=aeb@veritas.com \
    --cc=andre@linux-ide.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tai@imasy.or.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox