lkml.org 
[lkml]   [2006]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: pata_via in 2.6.19-rc6: UDMA/66 hdd downgraded to UDMA/33
Does this fix it

--- drivers/ata/pata_via.c~ 2006-11-29 15:16:10.961387472 +0000
+++ drivers/ata/pata_via.c 2006-11-29 15:17:08.784597008 +0000
@@ -60,7 +60,7 @@
#include <linux/libata.h>

#define DRV_NAME "pata_via"
-#define DRV_VERSION "0.2.0"
+#define DRV_VERSION "0.2.1"

/*
* The following comes directly from Vojtech Pavlik's ide/pci/via82cxxx
@@ -159,10 +159,13 @@
return -ENOENT;
}

- if ((config->flags & VIA_UDMA) >= VIA_UDMA_66)
+ if ((config->flags & VIA_UDMA) >= VIA_UDMA_100)
ap->cbl = via_cable_detect(ap);
- else
+ /* The UDMA66 series has no cable detect so do drive side detect */
+ else if ((config->flags & VIA_UDMA) < VIA_UDMA_66)
ap->cbl = ATA_CBL_PATA40;
+
+
return ata_std_prereset(ap);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-11-29 16:35    [W:0.042 / U:1.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site