From: "Neil Conway" <nconway_kernel@yahoo.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Re: PATCH, IDE corruption, 2.4.18
Date: Sat, 4 May 2002 13:15:20 +0100 (BST) [thread overview]
Message-ID: <20020504121520.52836.qmail@web21510.mail.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 355 bytes --]
Argh, humble apologies. Just noticed that Yahoo didn't like it that my
attachment didn't have a suffix and encoded it base64 :((
Here it is as a plain text attachment.
Neil
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
[-- Attachment #2: ide_patch030502.txt --]
[-- Type: text/plain, Size: 706 bytes --]
--- ide-features.c.orig Fri Feb 9 19:40:02 2001
+++ ide-features.c Fri May 3 20:21:58 2002
@@ -281,12 +281,18 @@
*/
int ide_config_drive_speed (ide_drive_t *drive, byte speed)
{
+ ide_hwgroup_t *hwgroup = HWGROUP(drive);
ide_hwif_t *hwif = HWIF(drive);
int i, error = 1;
- byte stat;
+ byte stat,unit;
+
+ if (hwgroup->busy) {
+ printk("Argh: hwgroup is busy in ide_config_drive_speed\n");
+ return error;
+ }
#if defined(CONFIG_BLK_DEV_IDEDMA) && !defined(CONFIG_DMA_NONPCI)
- byte unit = (drive->select.b.unit & 0x01);
+ unit = (drive->select.b.unit & 0x01);
outb(inb(hwif->dma_base+2) & ~(1<<(5+unit)), hwif->dma_base+2);
#endif /* (CONFIG_BLK_DEV_IDEDMA) && !(CONFIG_DMA_NONPCI) */
next reply other threads:[~2002-05-04 12:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-04 12:15 Neil Conway [this message]
2002-05-04 22:58 ` Andre Hedrick
2002-05-05 2:10 ` Neil Conway
2002-05-05 0:22 ` Mike Fedyk
2002-05-05 0:47 ` Andre Hedrick
2002-05-05 1:54 ` Neil Conway
2002-05-05 7:36 ` Mike Fedyk
2002-05-05 9:44 ` Neil Conway
-- strict thread matches above, loose matches on Subject: below --
2002-05-05 15:49 Bartlomiej Zolnierkiewicz
2002-05-05 15:04 ` Martin Dalecki
2002-05-05 20:44 ` Neil Conway
2002-05-06 0:23 ` Mike Fedyk
2002-05-03 20:39 Neil Conway
2002-05-03 20:36 Neil Conway
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=20020504121520.52836.qmail@web21510.mail.yahoo.com \
--to=nconway_kernel@yahoo.co.uk \
--cc=linux-kernel@vger.kernel.org \
/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®