Re: Updated libata PATA patch

Guennadi Liakhovetski
2006-05-12T23:04:52Z

On Tue, 9 May 2006, Alan Cox wrote:

> - Re-enable per device speed setting
> - Fix VIA cable detect bug (reporter: Mathieu Castet)
> - Fix AMD cable detect bug (reporter: Sangoi Leonard)
> - Fix CS5535 build (reporter: Meelis Roos)
> - Trap 0 IRQ case
> - Fix IRQ allocation for pata_pcmcia (reporter: Kevin Radloff)
>
> http://zeniv.linux.org.uk/~alan/IDE

Just a little thank-you - just booted with your patch a ppc machine with
a "IDE interface: Silicon Image, Inc. (formerly CMD Technology Inc)
PCI0680 Ultra ATA-133 Host Controller (rev 02)" controller, kernel
2.6.17-rc3, your patch patch-2.6.17-rc3-ide2. An extract from dmesg:

sil680: BA5_EN = 1 clock = 00
sil680: BA5_EN = 1 clock = 10
sil680: 133MHz clock.
ata1: PATA max UDMA/133 cmd 0xBFFEF8 ctl 0xBFFEF6 bmdma 0xBFFED0 irq 17
ata2: PATA max UDMA/133 cmd 0xBFFEE8 ctl 0xBFFEE6 bmdma 0xBFFED8 irq 17
ata1: dev 0 ATA-6, max UDMA/100, 40020624 sectors: LBA
ata1: dev 0 configured for UDMA/100
scsi0 : pata_sil680
scsi1 : pata_sil680
Vendor: ATA Model: Maxtor 2B020H1 Rev: WAH2
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 40020624 512-byte hdwr sectors (20491 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 40020624 512-byte hdwr sectors (20491 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0

Will see how well it survives:-)

Thanks
Guennadi
---
Guennadi Liakhovetski