From owner-freebsd-current Tue Dec 17 6:26: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3029F37B401; Tue, 17 Dec 2002 06:26:07 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55CF343E4A; Tue, 17 Dec 2002 06:26:06 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gBHEQ4k5019991; Tue, 17 Dec 2002 15:26:04 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Takahashi Yoshihiro Cc: sos@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: ata driver From: phk@FreeBSD.ORG In-Reply-To: Your message of "Tue, 17 Dec 2002 23:11:16 +0900." <20021217.231116.71144639.nyan@jp.FreeBSD.org> Date: Tue, 17 Dec 2002 15:26:04 +0100 Message-ID: <19990.1040135164@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021217.231116.71144639.nyan@jp.FreeBSD.org>, Takahashi Yoshihiro writes: >In article <19314.1040132436@critter.freebsd.dk> >phk@FreeBSD.ORG writes: > >> Is it only for ATA/IDE disks ? >> Does it depend on the size of the disks ? > >Only for the internal IDE controller. The internal IDE controller on >pc98 uses the fixed geometry which is 8 heads and 17 sectors. If the >size of the disk is larger than 4.2GB (65535C x 8H x 17S x 512B), a >different geometry depend on the disk is used. I guess the correct pseudocode then is: if (disk is ata && unit < 4 && size < 65535C x 8H x 17S x 512B) { use 8/17 geometry } Is this correctly understood ? So this would not affect an IDE controller in a PCI slot ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message