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 =20 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 =20 claim to be AHCI compliant via the PCI "progif" register, however the =20= AHCI BAR still needs to be populated for it to be able to grap =20 resources needed. However some BIOS's effectively disables AHCI BAR's etc when its not =20 selected, not much we can do about that, or at least it will be a =20 nightmare to support. -S=F8ren On 16Apr, 2008, at 16:08 , John Baldwin wrote: > On Monday 14 April 2008 01:09:23 pm S=F8ren Schmidt wrote: >> Hi >> >> Yes, the registers used for setting up events when hotswap happens =20= >> are >> not accessible when in legacy compat mode. > > If all you need is for the AHCI BAR to have resources assigned newer =20= > FreeBSD > kernels (at least 6.x and later) are smart enough to alloc resources =20= > for a > BAR that the BIOS doesn't assign resources for when you do a > bus_alloc_resource(). > >> -S=F8ren >> >> On 14Apr, 2008, at 18:00 , Dag-Erling Sm=F8rgrav wrote: >>> S=F8ren Schmidt <sos@FreeBSD.org> writes: >>>> You have to set AHCI mode in the BIOS or the resources needed to =20= >>>> use >>>> it wont be available, so yes its software but not ours :) >>> >>> Thanks S=F8ren, 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=F8rgrav - des@des.no > > > > --=20 > John Baldwin > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB90E3B7-8C03-4B15-B287-1B774D0EEE4F>