linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Osamu Tomita <tomita@cinet.co.jp>
To: Alan Cox <alan@redhat.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: New IDE codes in 2.5.64-ac3
Date: Sun, 9 Mar 2003 11:16:15 +0900	[thread overview]
Message-ID: <20030309021615.GB981@yuzuki.cinet.co.jp> (raw)
In-Reply-To: <200303071756.h27HuiY01551@devserv.devel.redhat.com>

My PC98 box doesn't boot 2.5.64-ac3.
After print "ide-default: hdd: Failed to register the driver with ide.c"
forced to panic.
"hdd" is not connected my box.
IMHO We need status meaning 'supported by the driver but drive not present'.
Or this problem is PC98 specific?
I attached my quick fix. Please comment.

Regards,
Osamu Tomita

diff -Nru linux-2.5.64-ac3/drivers/ide/ide-default.c linux-2.5.64-ac3-quick-fix/drivers/ide/ide-default.c
--- linux-2.5.64-ac3/drivers/ide/ide-default.c	2003-03-08 12:51:33.000000000 +0900
+++ linux-2.5.64-ac3-quick-fix/drivers/ide/ide-default.c	2003-03-09 10:14:51.000000000 +0900
@@ -61,7 +61,8 @@
 			&idedefault_driver, IDE_SUBDRIVER_VERSION)) {
 		printk(KERN_ERR "ide-default: %s: Failed to register the "
 			"driver with ide.c\n", drive->name);
-		return 1;
+		//return 1;
+		drive->present = 0;
 	}
 	return 0;
 }

  parent reply	other threads:[~2003-03-09  2:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07 17:56 Linux 2.5.64-ac3 Alan Cox
2003-03-07 20:14 ` [patch] 2.5.64-ac3: fix a typo in ide-default.c Adrian Bunk
2003-03-07 20:33 ` [PATCH][TRIVIAL] Re: Linux 2.5.64-ac3 Maciej Soltysiak
2003-03-07 23:08   ` Alan Cox
2003-03-07 21:03 ` 2.5.64-ac3: 3c527.c doesn't compile Adrian Bunk
2003-03-07 21:34   ` James Bottomley
2003-03-22  8:23     ` Adrian Bunk
2003-03-09  1:58 ` Question about VISWS 2.5.64-ac3 Osamu Tomita
2003-03-09  2:16 ` Osamu Tomita [this message]
2003-03-09 20:53   ` New IDE codes in 2.5.64-ac3 Alan Cox

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=20030309021615.GB981@yuzuki.cinet.co.jp \
    --to=tomita@cinet.co.jp \
    --cc=alan@redhat.com \
    --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;
as well as URLs for NNTP newsgroup(s).