NCQ for sata_promise

From: otto Meier
Date: Fri Nov 03 2006 - 14:20:14 EST


>
> I have Promise NCQ info, just waiting for the chance to use it :)
>
> Plus I have a nagging suspicion that the SATA II cards have a few
> differences from the SATA I cards that have yet to be coded into
> sata_promise.c.
>
> Jeff

If have a sata 300TX4 card from Promise and a SATA-II Disk.

<7>sata_promise 0000:02:06.0: version 1.04
<4>ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
<6>GSI 17 sharing vector 0xB9 and IRQ 17
<6>ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [APC1] -> GSI 16 (level,
low) -> IRQ 185
<6>ata5: SATA max UDMA/133 cmd 0xFFFFC20000022200 ctl 0xFFFFC20000022238
bmdma 0x0 irq 185
<6>ata6: SATA max UDMA/133 cmd 0xFFFFC20000022280 ctl 0xFFFFC200000222B8
bmdma 0x0 irq 185
<6>ata7: SATA max UDMA/133 cmd 0xFFFFC20000022300 ctl 0xFFFFC20000022338
bmdma 0x0 irq 185
<6>ata8: SATA max UDMA/133 cmd 0xFFFFC20000022380 ctl 0xFFFFC200000223B8
bmdma 0x0 irq 185
<6>scsi4 : sata_promise
<6>ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
<6>ata5.00: ATA-7, max UDMA7, 488397168 sectors: LBA48 NCQ (depth 0/32)
<6>ata5.00: configured for UDMA/133SCSI device sde: 488397168 512-byte
hdwr sectors (250059 MB)
<5>sde: Write Protect is off
<7>sde: Mode Sense: 00 3a 00 00
<5>SCSI device sde: drive cache: write back
<5>SCSI device sde: 488397168 512-byte hdwr sectors (250059 MB)
<5>sde: Write Protect is off
<7>sde: Mode Sense: 00 3a 00 00
<5>SCSI device sde: drive cache: write back
<6> sde: sde1 sde2 < sde5 >
<5>sd 4:0:0:0: Attached scsi disk sde
<5>sd 4:0:0:0: Attached scsi generic sg4 type 0
<5> Vendor: ATA Model: SAMSUNG SP2504C Rev: VT10
<5> Type: Direct-Access ANSI SCSI revision: 05


As far as I read this messages NCQ should generaly work, but for some
reason
it is not enabled.

So how can I do this?
Or is still some coding missing as Jeff addressed in his statement from
May, which
I found searching the web for a hint.

It would be nice if someone could give me some info about it.




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/