Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2002 15:26:04 +0100
From:      phk@FreeBSD.ORG
To:        Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
Cc:        sos@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: ata driver 
Message-ID:  <19990.1040135164@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Dec 2002 23:11:16 %2B0900." <20021217.231116.71144639.nyan@jp.FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990.1040135164>