linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vt8235 fix, hopefully last variant
@ 2002-12-19 10:26 Vojtech Pavlik
  2002-12-19 13:34 ` AnonimoVeneziano
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Vojtech Pavlik @ 2002-12-19 10:26 UTC (permalink / raw)
  To: John Reiser, AnonimoVeneziano, Patrick Petermair, Roland Quast,
	LKML

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

Hi!

Can you guys try out this last take on a fix for your ATAPI device
problems? Applies against clean 2.4.20.

Please report failure/success.

Thanks.

-- 
Vojtech Pavlik
SuSE Labs

[-- Attachment #2: vt8235-atapi --]
[-- Type: text/plain, Size: 1331 bytes --]

ChangeSet@1.884, 2002-12-19 11:23:11+01:00, vojtech@suse.cz
  VIA IDE: Always use slow address setup timings for ATAPI devices.


 via82cxxx.c |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)


diff -Nru a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c
--- a/drivers/ide/pci/via82cxxx.c	Thu Dec 19 11:23:42 2002
+++ b/drivers/ide/pci/via82cxxx.c	Thu Dec 19 11:23:42 2002
@@ -1,16 +1,5 @@
 /*
- * $Id: via82cxxx.c,v 3.35-ac2 2002/09/111 Alan Exp $
- *
- *  Copyright (c) 2000-2001 Vojtech Pavlik
- *
- *  Based on the work of:
- *	Michel Aubry
- *	Jeff Garzik
- *	Andre Hedrick
- */
-
-/*
- * Version 3.35
+ * Version 3.36
  *
  * VIA IDE driver for Linux. Supported southbridges:
  *
@@ -152,7 +141,7 @@
 	via_print("----------VIA BusMastering IDE Configuration"
 		"----------------");
 
-	via_print("Driver Version:                     3.35-ac");
+	via_print("Driver Version:                     3.36");
 	via_print("South Bridge:                       VIA %s",
 		via_config->name);
 
@@ -351,6 +340,10 @@
 		ide_timing_compute(peer, peer->current_speed, &p, T, UT);
 		ide_timing_merge(&p, &t, &t, IDE_TIMING_8BIT);
 	}
+
+	/* Always use 4 address setup clocks on ATAPI devices */
+	if (drive->media != ide_disk)
+		t.setup = 4;
 
 	via_set_speed(HWIF(drive)->pci_dev, drive->dn, &t);
 

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2002-12-24  0:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19 10:26 vt8235 fix, hopefully last variant Vojtech Pavlik
2002-12-19 13:34 ` AnonimoVeneziano
2002-12-19 17:41 ` John Reiser
2002-12-20 20:12 ` Patrick Petermair
2002-12-21  9:21   ` Vojtech Pavlik
2002-12-21 10:51     ` Patrick Petermair
2002-12-21 12:00       ` Vojtech Pavlik
2002-12-21  0:25 ` Christian Seidemann
2002-12-23 19:30   ` AnonimoVeneziano
2002-12-23 21:42     ` Patrick Petermair
2002-12-24  0:09       ` AnonimoVeneziano
2002-12-24  0:26         ` Patrick Petermair
2002-12-24  0:33           ` AnonimoVeneziano
2002-12-21 17:57 ` John Reiser
2002-12-21 18:27   ` Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).