From: Sebastian Kuzminsky <seb@highlab.com>
To: linux-ide@vger.kernel.org
Subject: Re: what is hdparm doing?
Date: Tue, 28 Feb 2006 20:22:21 -0700 [thread overview]
Message-ID: <E1FEHuv-0004mb-VL@highlab.com> (raw)
In-Reply-To: <4404F89C.8040008@rtr.ca>
Mark Lord <liml@rtr.ca> wrote:
> Sebastian Kuzminsky wrote:
> > Hi folks, hdparm's got me confused.
> ..
> > "hdparm /dev/hda" says:
> .
> > DMA: mdma0 mdma1 *mdma2
> > Cycle time: min=120ns recommended=120ns
> > PIO: pio0 pio1 pio2 pio3 pio4
> > Cycle time: no flow control=120ns IORDY flow control=120ns
> ..
>
> The *mdma2 means, that if you were to issue a READ_DMA (or WRITE_DMA)
> command to the drive, the drive is expecting the host to use
> the multiword-dma-2 protocol and timings for it.
>
> Meanwhile, the host may, at its option, simply use PIO commands (READ, WRITE)
> instead of DMA, any time it chooses.
>
> Drives have both a DMA mode, and a PIO mode, each of which is selected
> and used independently of the other.
Ok thanks!
So how do I know what PIO mode the drive wants to use?
And how do I tell the HBA what PIO mode to use?
--
Sebastian Kuzminsky
next prev parent reply other threads:[~2006-03-01 3:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-28 22:13 what is hdparm doing? Sebastian Kuzminsky
2006-03-01 1:27 ` Mark Lord
2006-03-01 3:22 ` Sebastian Kuzminsky [this message]
2006-03-01 4:18 ` Mark Lord
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=E1FEHuv-0004mb-VL@highlab.com \
--to=seb@highlab.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 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.