From: John Lash <jkl@sarvega.com>
To: Tejun Heo <htejun@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>,
linux-ide@vger.kernel.org, mage@adamant.ua
Subject: Re: sata_sil Mod15Write quirk workaround patch for vanilla kernel avaialble.
Date: Thu, 31 Mar 2005 11:10:44 -0600 [thread overview]
Message-ID: <20050331111044.4a3672cd@homer.sarvega.com> (raw)
In-Reply-To: <424C10C3.9080102@gmail.com>
On Fri, 01 Apr 2005 00:01:23 +0900
Tejun Heo <htejun@gmail.com> wrote:
>
> Hello, guys.
>
> I generated m16w workaround patch for 2.6.11.6 (by just removing two
> lines :-) and set up a page regarding m15w quirk and the workaournd.
> I'm planning on updating m15w patch against the vanilla tree until it
> gets into the mainline so that impatient users can try out and it gets
> more testing.
>
> http://home-tj.org/m15w
>
> Thanks.
>
> --
> tejun
>
Tejun,
I applied the patch to a clean 2.6.11.6 kernel and got an unresolved
symbol error for "ATA_TFLAG_LBA". I tried changing that to "ATA_TFLAG_LBA48" and
it compiles and runs.
So far, no problems. Thanks a lot for the patch.
--john
diff -ru format
-----
linux-2.6.11.6-sata_sil/drivers/scsi/sata_sil.c ---
linux-2.6.11.6/drivers/scsi/sata_sil.c 2005-03-31 10:58:59.000000000 -0600
+++ linux-2.6.11.6-sata_sil/drivers/scsi/sata_sil.c 2005-03-31
11:05:00.000000000 -0600 @@ -280,7 +280,7 @@ {
u64 block = 0;
- BUG_ON(!(tf->flags & ATA_TFLAG_LBA));
+ BUG_ON(!(tf->flags & ATA_TFLAG_LBA48));
block |= (u64)tf->lbal;
block |= (u64)tf->lbam << 8;
@@ -299,7 +299,7 @@
static inline void sil_m15w_rewrite_tf (struct ata_taskfile *tf,
u64 block, u16 nsect)
{
- BUG_ON(!(tf->flags & ATA_TFLAG_LBA));
+ BUG_ON(!(tf->flags & ATA_TFLAG_LBA48));
tf->nsect = nsect & 0xff;
tf->lbal = block & 0xff;
next prev parent reply other threads:[~2005-03-31 17:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 15:01 Tejun Heo
2005-03-31 17:10 ` John Lash [this message]
2005-03-31 22:51 ` Tejun Heo
2005-04-04 7:10 ` Alexander Trotsai
2005-04-04 7:57 ` Tejun Heo
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=20050331111044.4a3672cd@homer.sarvega.com \
--to=jkl@sarvega.com \
--cc=htejun@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mage@adamant.ua \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®