Subject: Driver for Promise PDC20579 ?
To: None <port-i386@netbsd.org>
From: Jarkko Torppa <torppa@cute.fi>
List: port-i386
Date: 03/24/2005 20:33:12
Has anybody tried to make pdcsata talk to fasttrak 579 controller ?

First I tried to add the pci-id to pdcsata, which caused the machine to 
complain endesly about bogus interrupt.

Then I checked FreeBSD driver and tried to lift intrerrupt-handling from 
their driver. That made it work this well,

pdcsata0 at pci2 dev 2 function 0
pdcsata0: Promise PDC20579 SATA150 controller (rev. 0x02)
pdcsata0: interrupting at irq 11
pdcsata0: bus-master DMA support present
atabus2 at pdcsata0 channel 0
atabus3 at pdcsata0 channel 1
atabus4 at pdcsata0 channel 2
wd1(pdcsata0:0:0): using PIO mode 0
pdcsata0:0:0: wait timed out
pdcsata0:0:0: lost interrupt
pdcsata0:0:0: wait timed out
wd1 at atabus2 drive 0: <ST506>
wd1: drive supports 1-sector PIO transfers, chs addressing
wd1: 69632 KB, 1024 cyl, 8 head, 17 sec, 512 bytes/sect x 139264 sectors
wd1(pdcsata0:0:0): using PIO mode 0
wd1d: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
wd1: soft error (corrected)
wd1: wd_flushcache: status=128<TIMEOU>
wd1d: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
wd1: soft error (corrected)

So does anybody have driver for this, or should I just try to hack 
something using GPL/FreeBSD drivers as documentation ?