Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Jun 2002 19:41:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Jun 2002 19:41:50 -0400 Received: from kweetal.tue.nl ([131.155.2.7]:52468 "EHLO kweetal.tue.nl") by vger.kernel.org with ESMTP id ; Tue, 4 Jun 2002 19:41:50 -0400 Date: Wed, 5 Jun 2002 01:41:46 +0200 From: Guest section DW To: Robert Cardell Cc: linux-kernel@vger.kernel.org, marcelo@conectiva.com.br Subject: Re: [PATCH] Trivial, IDE geometry fix / defconfig changes Message-ID: <20020604234146.GA7255@win.tue.nl> In-Reply-To: <20020604215617.A288@garfield.mtlb.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/