Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2008 19:56:25 +0200
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ata ata-all.h ata-raid.c
Message-ID:  <EB90E3B7-8C03-4B15-B287-1B774D0EEE4F@FreeBSD.org>
In-Reply-To: <200804161008.01661.jhb@freebsd.org>
References:  <200804131605.m3DG5Z9P041647@repoman.freebsd.org> <86wsn0zasa.fsf@ds4.des.no> <FB9A1920-5DDD-421D-9AB3-ADB976E158FF@FreeBSD.ORG> <200804161008.01661.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Hi

ATA has done this for a long time for AHCI, if needed resources are  
there it will go for AHCI and try to use it for known chipsets.
What is relatively new in ATA is that it will go for chipsets that  
claim to be AHCI compliant via the PCI "progif" register, however the  
AHCI BAR still needs to be populated for it to be able to grap  
resources needed.

However some BIOS's effectively disables AHCI BAR's etc when its not  
selected, not much we can do about that, or at least it will be a  
nightmare to support.

-Søren


On 16Apr, 2008, at 16:08 , John Baldwin wrote:

> On Monday 14 April 2008 01:09:23 pm Søren Schmidt wrote:
>> Hi
>>
>> Yes, the registers used for setting up events when hotswap happens  
>> are
>> not accessible when in legacy compat mode.
>
> If all you need is for the AHCI BAR to have resources assigned newer  
> FreeBSD
> kernels (at least 6.x and later) are smart enough to alloc resources  
> for a
> BAR that the BIOS doesn't assign resources for when you do a
> bus_alloc_resource().
>
>> -Søren
>>
>> On 14Apr, 2008, at 18:00 , Dag-Erling Smørgrav wrote:
>>> Søren Schmidt <sos@FreeBSD.org> writes:
>>>> You have to set AHCI mode in the BIOS or the resources needed to  
>>>> use
>>>> it wont be available, so yes its software but not ours :)
>>>
>>> Thanks Søren, I will make sure the BIOS is correctly configured.
>>>
>>> Does this also affect hotswap?  I assume that the ICH8 supports it,
>>> but
>>> I haven't been able to make it work.
>>>
>>> DES
>>> --
>>> Dag-Erling Smørgrav - des@des.no
>
>
>
> -- 
> John Baldwin
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB90E3B7-8C03-4B15-B287-1B774D0EEE4F>