public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Alan Pope <alan.pope@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andre Hedrick <andre@linux-ide.org>
Subject: Re: PDC202XX_OLD broken
Date: Wed, 8 Dec 2004 22:46:50 +0100	[thread overview]
Message-ID: <58cb370e0412081346554cf3d8@mail.gmail.com> (raw)
In-Reply-To: <8e93903b041208132573a3c118@mail.gmail.com>

On Wed, 8 Dec 2004 21:25:56 +0000, Alan Pope <alan.pope@gmail.com> wrote:
> On Tue, 7 Dec 2004 21:58:52 +0100, Bartlomiej Zolnierkiewicz
> <bzolnier@gmail.com> wrote:
> > You are using 40c cable instead of 80c one.
> > Thus transfer rate is limited to UDMA33.
> >
> 
> No, I'm using an 80c cable. I have even gone out and bought a new 80c
> one just to make sure the cable isn't broken. I have also got two
> identical disks, and experience exactly the same problem on both.

Ah, my mistake, you have 40c cable connected to VIA not Promise...

> I booted with "ide2=dma" because it was booting with the disk in pio mode.

If you are talking about:

ide3: BM-DMA at 0xd008-0xd00f, BIOS settings: hdg:pio, hdh:pio

it reports BIOS settings not the ones used by driver, no need for
"ide=dma2" if you have CONFIG_IDEDMA_PCI_AUTO=y.

> > Moreover pdc202xx_old has a bug in cable detection code.
> > pdc202xx_old_cable_detect() always returns '0' (which means
> > 80c cable) due to a sloppy coding - result of CIS & mask is
> > truncated to 8 bits although CIS holds cable info in bits 10-11.
> >
> > Does this fix work for you?
> >
> 
> Not tried it, but it wouldn't help me would it? I *do* have an 80c
> cable, and the disk does show up in dmesg as a UDMA100 disk..

It wouldn't, it must be another bug.

      reply	other threads:[~2004-12-08 21:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-06 22:05 PDC202XX_OLD broken Alan Pope
2004-12-07 13:21 ` Alan Cox
2004-12-07 20:13   ` Alan Pope
2004-12-07 20:58   ` Bartlomiej Zolnierkiewicz
2004-12-08 21:25     ` Alan Pope
2004-12-08 21:46       ` Bartlomiej Zolnierkiewicz [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=58cb370e0412081346554cf3d8@mail.gmail.com \
    --to=bzolnier@gmail.com \
    --cc=alan.pope@gmail.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