From: Gunther.Mayer@t-online.de (Gunther Mayer)
To: Andre Hedrick <andre@aslab.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Patch(2.4.5): Fix PCMCIA ATA/IDE freeze (w/ PCI add-in cards)V3
Date: Fri, 29 Jun 2001 20:09:42 +0200 [thread overview]
Message-ID: <3B3CC466.9CAC4365@t-online.de> (raw)
In-Reply-To: <Pine.LNX.4.04.10106281317001.30863-100000@mail.aslab.com>
Andre Hedrick wrote:
>
> That is a legacy bit from ATA-2 but it is one of those things you can not
> get rid of :-( even thou things are obsoleted, they are not retired.
> This means that you have to go back into the past to see how it was used,
> silly! I hope you agree to that point.
No,
in ANSI X3.279-1996, "AT Attachment Interface with Extensions (ATA-2)",
Approved September 11, 1996 , control register bit 3-7 are reserved.
However ANSI X3.221-1994, "AT Attachment Interface for Disk Drives",
Approved May 12, 1994, bit3 is "1" and bits 4-7 are "x". No further explanation.
How far back must we go, to get the sense ?
>
> This is the drive->ctrl register pointer.
>
> outp(drive->ctl|0x02, IDE_CONTROL_REG);
>
> typedef union {
> unsigned all : 8; /* all of the bits together */
> struct {
> unsigned bit0 : 1;
> unsigned nIEN : 1; /* device INTRQ to host */
> unsigned SRST : 1; /* host soft reset bit */
> unsigned bit3 : 1; /* ATA-2 thingy */
> unsigned reserved456 : 3;
> unsigned HOB : 1; /* 48-bit address ordering */
> } b;
> } control_t;
>
> This is a new struct that is to be added for 48-bit addressing and it will
> reflect drive->ctl soon. I have not decided how to use it best or at all,
> but it has meaning and once I add-in the real def of bit3 then I will not
> need to look it up again.
next prev parent reply other threads:[~2001-06-29 18:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-26 20:20 Patch(2.4.5): Fix PCMCIA ATA/IDE freeze (w/ PCI add-in cards) Gunther Mayer
2001-06-27 7:29 ` Andre Hedrick
2001-06-27 11:25 ` Alan Cox
2001-06-27 16:54 ` Andre Hedrick
2001-06-27 17:21 ` Alan Cox
2001-06-27 20:01 ` Andre Hedrick
2001-06-27 20:51 ` Gunther Mayer
2001-06-27 21:55 ` Andre Hedrick
2001-06-28 17:21 ` Patch(2.4.5): Fix PCMCIA ATA/IDE freeze (w/ PCI add-in cards) V3 Gunther Mayer
2001-06-29 5:38 ` Andre Hedrick
2001-06-29 18:09 ` Gunther Mayer [this message]
2001-06-30 8:14 ` Patch(2.4.5): Fix PCMCIA ATA/IDE freeze (w/ PCI add-in cards)V3 Andre Hedrick
2001-06-27 16:03 ` Patch(2.4.5): Fix PCMCIA ATA/IDE freeze (w/ PCI add-in cards) David Hinds
2001-06-27 16:56 ` Andre Hedrick
2001-06-27 16:23 ` Gunther Mayer
-- strict thread matches above, loose matches on Subject: below --
2001-06-29 20:40 Patch(2.4.5): Fix PCMCIA ATA/IDE freeze (w/ PCI add-in cards)V3 Andries.Brouwer
2001-06-30 8:18 ` 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=3B3CC466.9CAC4365@t-online.de \
--to=gunther.mayer@t-online.de \
--cc=andre@aslab.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.