Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Aug 2009 17:14:55 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        freebsd-hardware@freebsd.org, Takahashi Yoshihiro <nyan@jp.FreeBSD.org>, freebsd-arch@freebsd.org
Subject:   Re: Do we still need ATA disk CHS addressing?
Message-ID:  <4A7ED9DF.1080007@FreeBSD.org>
In-Reply-To: <20090809134724.GX1292@hoeg.nl>
References:  <4A7DF076.4070203@FreeBSD.org> <20090809.202549.27838630.nyan@jp.FreeBSD.org> <20090809134724.GX1292@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Ed Schouten wrote:
> * Takahashi Yoshihiro <nyan@jp.FreeBSD.org> wrote:
>> In article <4A7DF076.4070203@FreeBSD.org>
>> Alexander Motin <mav@freebsd.org> writes:
>>> While preparing wrapping ATA(4) low-level drivers code into CAM SIM, I
>>> would like to remove CHS addressing support to make code cleaner. CHS
>>> addressing is officially declared obsoleted and replaced by LBA. Since
>>> ATA/ATAPI-6 specification (October 2001) it is even no longer
>>> documented.
>>>
>>> Have anybody seen ATA drive without LBA support in last years?
>>> Any other objections against removing it?
>> PC98 uses CHS addressing because the internal interface works for very
>> old HDD only, so I hope it remains if possible.  But if you need a lot
>> of works for CHS support, I agree to remove it.
> 
> Wouldn't it be possible to keep the old ATA code in the tree for users
> who want to use stuff like this?

I am going to make it switchable via kernel option, until new code 
completely settle. It should be possible to keep CHS support in this 
legacy mode.

-- 
Alexander Motin



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