From: Tejun Heo <htejun@gmail.com>
To: albertl@mail.com
Cc: Mark Lord <liml@rtr.ca>, Jeff Garzik <jgarzik@pobox.com>,
"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: libata-dev#upstream pdc_adma fails IDENTIFY w/ AC_ERR_HSM
Date: Wed, 09 Aug 2006 18:30:51 +0900 [thread overview]
Message-ID: <44D9AB4B.9050107@gmail.com> (raw)
In-Reply-To: <44D82CCF.8020705@tw.ibm.com>
Albert Lee wrote:
> Tejun Heo wrote:
>> Mark Lord wrote:
>>
>>> Is this "IDENTIFY using IRQs rather than polling" a newish feature?
>>> Because I just don't see how it could work with the the existing
>>> adma_intr_mmio routine --> that code is only correct for non-data
>>> commands, and IDENTIFY definitely has data.
>>
>> IDENTIFY w/ IRQs came with Albert Lee's irq-pio which was merged into
>> mainline together with new EH.
>>
>
> Oops, pdc_adma.c was overlooked by the irq-pio patch.
> Only HSM_ST_LAST interrupts should be delivered to this LLDD.
> Could you please check if the attached patch helps?
Yay, with your patch pdc_adma detects all devices and works great.
=================================================================
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 3
ACPI: PCI Interrupt 0000:01:02.0[A] -> Link [LNKG] -> GSI 3 (level, low)
-> IRQ 3
ata1: PATA max UDMA/66 cmd 0xF881AC00 ctl 0xF881AC38 bmdma 0x0 irq 3
ata2: PATA max UDMA/66 cmd 0xF881AC40 ctl 0xF881AC78 bmdma 0x0 irq 3
scsi0 : pdc_adma
ata1.01: ATA-4, max UDMA/66, 30064608 sectors: LBA
ata1.01: ata1: dev 1 multi count 0
ata1.01: configured for UDMA/66
scsi1 : pdc_adma
ata2.01: ATAPI, max MWDMA2
ata2.01: configured for PIO4
Vendor: ATA Model: WDC WD153AA Rev: 05.0
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 30064608 512-byte hdwr sectors (15393 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 30064608 512-byte hdwr sectors (15393 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
sda: sda1
sd 0:0:1:0: Attached scsi disk sda
sd 0:0:1:0: Attached scsi generic sg0 type 0
Vendor: LG (KOR) Model: CD-ROM CRD-8520B Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 05
sr0: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:1:0: Attached scsi generic sg1 type 5
=================================================================
Please send the patch to Jeff with proper header.
Thanks.
--
tejun
prev parent reply other threads:[~2006-08-09 9:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-04 12:00 libata-dev#upstream pdc_adma fails IDENTIFY w/ AC_ERR_HSM Tejun Heo
2006-08-04 13:56 ` Mark Lord
2006-08-04 14:18 ` Tejun Heo
2006-08-04 15:02 ` Tejun Heo
2006-08-04 15:30 ` Jeff Garzik
2006-08-04 16:09 ` Mark Lord
2006-08-04 16:26 ` Tejun Heo
2006-08-08 6:18 ` Albert Lee
2006-08-09 9:30 ` Tejun Heo [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=44D9AB4B.9050107@gmail.com \
--to=htejun@gmail.com \
--cc=albertl@mail.com \
--cc=jgarzik@pobox.com \
--cc=liml@rtr.ca \
--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.