From: Guest section DW <dwguest@win.tue.nl>
To: Robert Cardell <rbt@mtlb.co.uk>
Cc: linux-kernel@vger.kernel.org, marcelo@conectiva.com.br
Subject: Re: [PATCH] Trivial, IDE geometry fix / defconfig changes
Date: Wed, 5 Jun 2002 01:41:46 +0200 [thread overview]
Message-ID: <20020604234146.GA7255@win.tue.nl> (raw)
In-Reply-To: <20020604215617.A288@garfield.mtlb.co.uk>
On Tue, Jun 04, 2002 at 09:56:17PM +0100, Robert Cardell wrote:
> --- ide-disk.c.old Tue Jun 4 21:09:10 2002
> +++ ide-disk.c Tue Jun 4 21:09:44 2002
> @@ -929,9 +929,9 @@
>
> if (id->cfs_enable_2 & 0x0400) {
> capacity_2 = id->lba_capacity_2;
> - drive->cyl = (unsigned int) capacity_2 / (drive->head * drive->sect);
> drive->head = drive->bios_head = 255;
> drive->sect = drive->bios_sect = 63;
> + drive->cyl = (unsigned int) capacity_2 / (drive->head * drive->sect);
> drive->select.b.lba = 1;
> set_max_ext = idedisk_read_native_max_address_ext(drive);
> if (set_max_ext > capacity_2) {
>
Yes, let me confirm: this patch is required.
I sent it to the list on 10 Feb 2002 ("[PATCH] tiny IDE fixes"); apparently
nobody picked it up, or at least it didnt reach 2.4.19-pre9 yet.
That patch also removed some dead code.
Andries
next prev parent reply other threads:[~2002-06-04 23:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-04 20:56 [PATCH] Trivial, IDE geometry fix / defconfig changes Robert Cardell
2002-06-04 23:41 ` Guest section DW [this message]
2002-06-05 13:18 ` Rusty Russell
-- strict thread matches above, loose matches on Subject: below --
2002-06-04 21:22 Rik van Riel
2002-06-04 21:49 ` Robert Cardell
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=20020604234146.GA7255@win.tue.nl \
--to=dwguest@win.tue.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=rbt@mtlb.co.uk \
/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.