On Oct 4, 2007, at 2:04 , Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>,
> Andreas Wrede writes:
>
>> Under NetBSD -current, the controller reports Ultra-DMA mode 4
>> capability, the drive I have is Ultra-DMA mode 5 and they end up
>> communicating at Ultra 4. Looks OK, if Ultra-DMA mode 4 (Ultra/66) is
>> actually the top speed of the controller.
>
> Check the device driver. I've seen it do UDMA5 under FreeBSD with
> this patch (currently in the release-engineers queue):
With the patch below, mode 5 works fine on NetBSD as well. Filed as
kern/37059.
RCS file: /cvsroot/src/sys/dev/pci/viaide.c,v
retrieving revision 1.44
diff -u -r1.44 viaide.c
--- viaide.c 31 Aug 2007 01:42:48 -0000 1.44
+++ viaide.c 4 Oct 2007 11:53:45 -0000
@@ -468,6 +468,7 @@
case PCI_PRODUCT_AMD_PBC8111_IDE:
sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;
break;
+ case PCI_PRODUCT_AMD_CS5536_IDE:
case PCI_PRODUCT_AMD_PBC766_IDE:
case PCI_PRODUCT_AMD_PBC768_IDE:
sc->sc_wdcdev.sc_atac.atac_udma_cap = 5;
--
aew
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech