From: Allen Martin <AMartin@nvidia.com>
To: "'Alan Cox'" <alan@lxorguk.ukuu.org.uk>
Cc: "Andre Hedrick (andre@linux-ide.org)" <andre@linux-ide.org>,
"LKML (linux-kernel@vger.kernel.org)"
<linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] 2.4.23-pre4 support for new nForce IDE controllers
Date: Thu, 18 Sep 2003 11:08:25 -0700 [thread overview]
Message-ID: <8F12FC8F99F4404BA86AC90CD0BFB04F039F7138@mail-sc-6.nvidia.com> (raw)
>
> Thanks will look over these.
>
> One first question - does the serial ata stuff need to
> avoid cable detect too ?
Actually cable detect is a problem even with PATA. The driver is reading a
register at offset 0x52 in config space of the controller (AMD_CABLE_DETECT)
to determine cable type, but this register doesn't exist on nForce chips.
The cable detect signal is wired to a GPIO pin on the nForce southbridge,
unfortunately some board makers have chosen different GPIO pins to wire this
up to, so only the BIOS knows for sure where the cable detect signal is.
Under Windows OS'es this isn't a problem because UDMA modes are set via an
ACPI method, so the driver doesn't have to know anything about the registers
or cable validation.
I saw the driver tries to detect if this bit is not working and turn it on,
but it only seems to happen on the primary channel. As far as I can tell it
doesn't prevent setting higher DMA modes though. Even when the driver
reports 40pin on the secondary channel I can still set dma modes >UDMA2.
-Allen
next reply other threads:[~2003-09-18 18:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-18 18:08 Allen Martin [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-18 4:08 Allen Martin
2003-09-18 11:55 ` Alan Cox
2003-09-18 3:47 Allen Martin
2003-09-21 7:34 ` 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=8F12FC8F99F4404BA86AC90CD0BFB04F039F7138@mail-sc-6.nvidia.com \
--to=amartin@nvidia.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andre@linux-ide.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®