linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: Paul.Mackerras@cs.anu.edu.au, linuxppc-dev@lists.linuxppc.org,
	"Timothy A. Seufert" <tas@mindspring.com>
Subject: Re: Great IDE perf (WAS: Strange PMAC IDE performance)
Date: Thu, 7 Jan 1999 12:59:44 +0100	[thread overview]
Message-ID: <19990107125944.017660@mail.mipsys.com> (raw)
In-Reply-To: <v04011701b2ba429e00af@[209.86.156.161]>


On Thu, Jan 7, 1999, Timothy A. Seufert <tas@mindspring.com> wrote:

>This works on the PowerBook 2400 as well.  It so happens that the IDE
>controllers also sit at 0xf3020000 and 0xf3021000 on the O'Hare.  The value
>of the register at offset 0x200 is slightly different under MacOS:
>0x221025.  I tried both values, it didn't seem to make a difference.  I did
>a quick hack to ide-pmac.c (it just stuffs the value in, no questions
>asked, though it does actually use the correct base address instead of hard
>coding 0xf3020000) and that worked.  Performance is up to 5.6 MB/s (was in
>the region of 1.6 before).

Great ! I also included this initialisation in my latest set of patch and
test kernel but currently, I test against "heathrow-ata" in the
compatible property, so it won't do it on your machine. Could you tell me
the value of the compatible property of the ATA on the 2400 ? I'll add
similar code with 0x221025 for OHare and 0x211025 for heathrow, just to
be safe.

>Any guesses about the meaning of this register?  It feels wrong somehow to
>just ape MacOS without knowing what's really going on.  :)

Good question ;-) I'm wondering if this could configure the timing of the
DMA engine on the data port. I tried with my CD-ROM and it works too (I
didn't hdparm it but at least, the CD mounts weel and I didn't see any
problem). It would be great to test with really slow devices however (my
CD is a very fast one).

Another question about IDE: Does someone have any info about IDE ZIP
drives ? I received a mail from someone which is having all sorts of
trouble with a ZIP in the expansion bay. Looks like the beast is not
correctly answering ATAPI commands sent by the driver (yeah, ATAPI, I
thought a ZIP would be plain IDE or floppy-IDE but apparently, his drive
is recognized as an ATAPI one).

-- 
           E-Mail: <mailto:bh40@calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>





[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

  parent reply	other threads:[~1999-01-07 11:59 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-05  8:52 Strange PMAC IDE performance problem Timothy A. Seufert
1999-01-05 11:33 ` Albrecht Dreß
1999-01-05 17:52   ` Marcus H. Mendenhall
1999-01-05 18:49   ` Timothy A. Seufert
1999-01-05 22:48     ` Benjamin Herrenschmidt
1999-01-06  5:56       ` Dan Malek
1999-01-06  9:59         ` Benjamin Herrenschmidt
1999-01-06  9:23       ` Albrecht Dreß
1999-01-06 10:02         ` Benjamin Herrenschmidt
1999-01-06 23:22           ` Paul Mackerras
1999-01-07  9:11             ` Benjamin Herrenschmidt
1999-01-05 22:39 ` Paul Mackerras
1999-01-06  6:01   ` Paul Mackerras
1999-01-06 11:51     ` Benjamin Herrenschmidt
1999-01-06 16:02     ` Great IDE perf (WAS: Strange PMAC IDE performance) Benjamin Herrenschmidt
1999-01-07 11:12       ` Timothy A. Seufert
1999-01-07 11:32         ` Paul Mackerras
1999-01-07 18:59           ` Timothy A. Seufert
1999-01-07 11:59         ` Benjamin Herrenschmidt [this message]
1999-01-07 18:59           ` Timothy A. Seufert
1999-01-07 20:15             ` Benjamin Herrenschmidt
1999-01-08  2:06           ` Paul Mackerras
1999-01-08  3:30             ` Benjamin Herrenschmidt
     [not found] <19990106170222.030778>
1999-01-06 17:21 ` Benjamin Herrenschmidt

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=19990107125944.017660@mail.mipsys.com \
    --to=bh40@calva.net \
    --cc=Paul.Mackerras@cs.anu.edu.au \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=tas@mindspring.com \
    /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;
as well as URLs for NNTP newsgroup(s).