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):
Index: ata-chipset.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.199
diff -u -r1.199 ata-chipset.c
--- ata-chipset.c 10 Sep 2007 19:16:39 -0000 1.199
+++ ata-chipset.c 3 Oct 2007 13:30:10 -0000
@@ -1216,6 +1216,7 @@
{ ATA_AMD766, 0x00, AMDNVIDIA, AMDCABLE|AMDBUG, ATA_UDMA5, "766" },
{ ATA_AMD768, 0x00, AMDNVIDIA, AMDCABLE, ATA_UDMA5, "768" },
{ ATA_AMD8111, 0x00, AMDNVIDIA, AMDCABLE, ATA_UDMA6, "8111" },
+ { ATA_AMD5536, 0x00, AMDNVIDIA, 0x00, ATA_UDMA5, "CS5536" },
{ 0, 0, 0, 0, 0, 0}};
char buffer[64];
Index: ata-pci.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v
retrieving revision 1.78
diff -u -r1.78 ata-pci.h
--- ata-pci.h 10 Sep 2007 19:16:39 -0000 1.78
+++ ata-pci.h 3 Oct 2007 13:31:01 -0000
@@ -86,6 +86,7 @@
#define ATA_AMD766 0x74111022
#define ATA_AMD768 0x74411022
#define ATA_AMD8111 0x74691022
+#define ATA_AMD5536 0x209a1022
#define ATA_ACER_LABS_ID 0x10b9
#define ATA_ALI_1533 0x153310b9
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech