All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Szabolcs Berecz <szabi@mplayerhq.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ide_init_disk
Date: Tue, 1 Mar 2005 15:03:39 +0100	[thread overview]
Message-ID: <58cb370e05030106033d43e7bb@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0503011443330.26569@mail.mplayerhq.hu>

Already fixed by Andrew in 2.6.11-rc5-mm1.

Please always cc: me and linux-ide@vger.kernel.org on IDE patches.

Thanks.

On Tue, 1 Mar 2005 14:50:18 +0100 (CET), Szabolcs Berecz
<szabi@mplayerhq.hu> wrote:
> 
> My /dev/hdb showed up as /dev/hdq
> 
> The bug was introduced with bk-ide-dev.patch
> 
> Bye,
> Szabi
> 
> --- linux-2.6.11-rc4-mm1/drivers/ide/ide-probe.c.orig   2005-02-24 20:04:03.000000000 +0100
> +++ linux-2.6.11-rc4-mm1/drivers/ide/ide-probe.c        2005-02-27 23:52:54.000000000 +0100
> @@ -1269,7 +1269,7 @@
>  void ide_init_disk(struct gendisk *disk, ide_drive_t *drive)
>  {
>         ide_hwif_t *hwif = drive->hwif;
> -       unsigned int unit = drive->select.all & (1 << 4);
> +       unsigned int unit = drive->select.b.unit;
> 
>         disk->major = hwif->major;
>         disk->first_minor = unit << PARTN_BITS;
>

      reply	other threads:[~2005-03-01 14:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01 13:50 [PATCH] ide_init_disk Szabolcs Berecz
2005-03-01 14:03 ` Bartlomiej Zolnierkiewicz [this message]

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=58cb370e05030106033d43e7bb@mail.gmail.com \
    --to=bzolnier@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=szabi@mplayerhq.hu \
    /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.