Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752948Ab0GSFka (ORCPT ); Mon, 19 Jul 2010 01:40:30 -0400 Received: from eazy.amigager.de ([213.239.192.238]:60514 "EHLO eazy.amigager.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752745Ab0GSFk3 (ORCPT ); Mon, 19 Jul 2010 01:40:29 -0400 Date: Mon, 19 Jul 2010 07:40:27 +0200 From: Tino Keitel To: Jens Axboe Cc: Matthew Garrett , "linux-kernel@vger.kernel.org" , Tejun Heo , "jgarzik@pobox.com" , Jesse Barnes Subject: Re: [PATCH[RFC] Quirk macbook pro 6,2 into ahci mode Message-ID: <20100719054027.GA30246@mac.home> Mail-Followup-To: Jens Axboe , Matthew Garrett , "linux-kernel@vger.kernel.org" , Tejun Heo , "jgarzik@pobox.com" , Jesse Barnes References: <4C4325E0.5020407@fusionio.com> <20100718184243.GA4062@srcf.ucam.org> <4C436566.8060609@fusionio.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C436566.8060609@fusionio.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 23 On Sun, Jul 18, 2010 at 14:34:46 -0600, Jens Axboe wrote: [...] > See this is where I'm getting confused, since I'm not entirely sure what > the boot process is. If I boot a DVD directly, then it's in piix mode. > Booting through refit -> Linux, it's in piix mode. So my logic was that > it is probably getting switched into ahci mode by the OSX boot loader or > perhaps the driver does it there. If this helps: I switched from grub-pc to grub-efi on my oldish Mac mini Core 2 Duo (i945 chipset) and the hard disk used AHCI after this. Suspend also works fine. So I would guess that the AHCI/PIIX difference is caused by booting with EFI/legacy DOS bootblock, and the latter is just done for Windows compatibility. Regards, Tino -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/