Already fixed by Andrew in 2.6.11-rc5-mm1.
Please always cc: me and [email protected] on IDE patches.
Thanks.
On Tue, 1 Mar 2005 14:50:18 +0100 (CET), Szabolcs Berecz
<[EMAIL PROTECTED]> 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;
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/