From: John Reiser <jreiser@BitWagon.com>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: AnonimoVeneziano <voloterreno@tin.it>,
Patrick Petermair <black666@inode.at>,
Roland Quast <rquast@hotshed.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: vt8235 fix, hopefully last variant
Date: Thu, 19 Dec 2002 09:41:48 -0800 [thread overview]
Message-ID: <3E0204DC.10808@BitWagon.com> (raw)
In-Reply-To: 20021219112640.A21164@ucw.cz
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
Vojtech Pavlik wrote:
> Can you guys try out this last take on a fix for your ATAPI device
> problems? Applies against clean 2.4.20.
Yes, the vt8235-atapi patch works for me; so did vt8235-dvd, but not vt8235-min.
Mitsumi FX4830T ATAPI CD-ROM, MSI KT3 Ultra2 mainboard (KT333), vt8235.
I modified the patch so that it would apply cleanly to RedHatLinux8.0
kernel-2.4.18-18.8.0 as part of "rpm -bb --target i686 kernel-2.4.18.spec".
The result is attached.
--
John Reiser, jreiser@BitWagon.com
[-- Attachment #2: vt8235-atapi-jreiser.patch --]
[-- Type: text/plain, Size: 870 bytes --]
--- linux/drivers/ide/via82cxxx.c.orig Thu Dec 19 08:35:20 2002
+++ linux/drivers/ide/via82cxxx.c Thu Dec 19 08:43:10 2002
@@ -1,5 +1,5 @@
/*
- * Version 3.35
+ * Version 3.36jreiser
*
* VIA IDE driver for Linux. Supported southbridges:
*
@@ -129,7 +129,7 @@
via_print("----------VIA BusMastering IDE Configuration----------------");
- via_print("Driver Version: 3.35");
+ via_print("Driver Version: 3.36jreiser");
via_print("South Bridge: VIA %s", via_config->name);
pci_read_config_byte(isa_dev, PCI_REVISION_ID, &t);
@@ -295,6 +295,10 @@
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);
if (!drive->init_speed)
next prev parent reply other threads:[~2002-12-19 17:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E0204DC.10808@BitWagon.com \
--to=jreiser@bitwagon.com \
--cc=black666@inode.at \
--cc=linux-kernel@vger.kernel.org \
--cc=rquast@hotshed.com \
--cc=vojtech@suse.cz \
--cc=voloterreno@tin.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.