From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Jeremy Higdon <jeremy@sgi.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: purpose of resetproc() in struct hwif_s
Date: Mon, 08 Dec 2003 10:13:07 +1100 [thread overview]
Message-ID: <1070838786.11006.39.camel@gaston> (raw)
In-Reply-To: <20031207074241.GA188106@sgi.com>
> My question is, what should it be doing? Is turning shutting off
> DMA and clearing interrupts sufficient if we don't think we need
> to reset the controller? Could it be harmful?
I added this callback a while back because the winbond was switching
to what seems, according to the (very bad) documentation, some 8
bits only mode when sensing an ATA reset done via the control reg.
You don't _have_ to do anything special if your controller don't
play such tricks, though if you have ways of putting back the controller
to some sane idle state (in case we reset after a DMA failure), it
might be wise to do so.
Ben.
prev parent reply other threads:[~2003-12-07 23:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-07 7:42 purpose of resetproc() in struct hwif_s Jeremy Higdon
2003-12-07 23:13 ` Benjamin Herrenschmidt [this message]
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=1070838786.11006.39.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=jeremy@sgi.com \
--cc=linux-ide@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