public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Petr Sebor <petr@scssoft.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org, roubm9am@barbora.ms.mff.cuni.cz
Subject: Re: IDE feature request
Date: Mon, 9 Dec 2002 00:41:02 +0100	[thread overview]
Message-ID: <20021208234102.GA8293@scssoft.com> (raw)
In-Reply-To: <1039312135.27904.11.camel@irongate.swansea.linux.org.uk>

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

On Sun, Dec 08, 2002 at 01:09:34AM +0000, Alan Cox wrote:
> Fix ide.c to generate a b c d e f and you should be able to get 16.

Like this?

-Petr

[-- Attachment #2: ide.diff --]
[-- Type: text/plain, Size: 402 bytes --]

--- ide.c~	2002-12-09 00:26:38.000000000 +0100
+++ ide.c	2002-12-09 00:25:34.000000000 +0100
@@ -262,7 +262,7 @@
 	hwif->name[0]	= 'i';
 	hwif->name[1]	= 'd';
 	hwif->name[2]	= 'e';
-	hwif->name[3]	= '0' + index;
+	hwif->name[3]	= (index < 10)?('0' + index):('a' + index - 10);
 	hwif->bus_state = BUSSTATE_ON;
 	for (unit = 0; unit < MAX_DRIVES; ++unit) {
 		ide_drive_t *drive = &hwif->drives[unit];

  reply	other threads:[~2002-12-08 23:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-07  2:25 IDE feature request Milan Roubal
2002-12-08  1:48 ` Alan Cox
2002-12-08 23:41   ` Petr Sebor [this message]
2002-12-09 14:21     ` Henning P. Schmiedehausen
2002-12-09 14:28       ` Alex Riesen
2002-12-09 14:43       ` John Bradford
2002-12-09 15:52       ` Alan Cox
2002-12-10 15:07     ` IDE feature request & problem Milan Roubal
2002-12-10 17:10       ` Alan Cox
2002-12-11  0:24         ` Milan Roubal
2002-12-11  1:20           ` Alan Cox
2002-12-11  1:07             ` Milan Roubal
2002-12-11 20:04             ` Vojtech Pavlik
2002-12-12 18:12               ` Pavel Machek
2002-12-13 14:41                 ` Vojtech Pavlik
2002-12-13 18:03                   ` Milan Roubal
2002-12-11  1:42       ` Barry K. Nathan
2003-01-15 15:53       ` Milan Roubal

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=20021208234102.GA8293@scssoft.com \
    --to=petr@scssoft.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roubm9am@barbora.ms.mff.cuni.cz \
    /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