Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423472AbWJaPI3 (ORCPT ); Tue, 31 Oct 2006 10:08:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1423475AbWJaPI3 (ORCPT ); Tue, 31 Oct 2006 10:08:29 -0500 Received: from outbound-res.frontbridge.com ([63.161.60.49]:56565 "EHLO outbound2-res-R.bigfish.com") by vger.kernel.org with ESMTP id S1423472AbWJaPI1 convert rfc822-to-8bit (ORCPT ); Tue, 31 Oct 2006 10:08:27 -0500 X-BigFish: V Content-class: urn:content-classes:message Subject: AHCI should try to claim all AHCI controllers MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 8BIT Date: Tue, 31 Oct 2006 23:06:32 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AHCI should try to claim all AHCI controllers Thread-Index: Acb8/ibSZp/QFEL8Rzmpl2tXtKP37w== From: "Conke Hu" To: , , , X-OriginalArrivalTime: 31 Oct 2006 15:06:37.0213 (UTC) FILETIME=[29577CD0:01C6FCFE] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1096 Lines: 36 Hi all, According to PCI 3.0 spec, ACHI's PCI class code is 0x010601, and I suggest the ahci driver had better try to claim all ahci controllers, pls see the following patch: diff -Nur linux-2.6.17/drivers/scsi/ahci.c linux-2.6.17-ahci/drivers/scsi/ahci.c --- linux-2.6.17/drivers/scsi/ahci.c 2006-06-18 09:49:35.000000000 +0800 +++ linux-2.6.17-ahci/drivers/scsi/ahci.c 2006-10-31 22:50:54.000000000 +0800 @@ -296,6 +296,11 @@ board_ahci }, /* ATI SB600 non-raid */ { PCI_VENDOR_ID_ATI, 0x4381, PCI_ANY_ID, PCI_ANY_ID, 0, 0, board_ahci }, /* ATI SB600 raid */ + /* Claim all AHCI controllers not listed above. + * According to PCI 3.0, AHCI's class code is 0x010601 + */ + { PCI_AND_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, 0x010601, 0xffffff, + board_ahci }, { } /* terminate list */ }; Best regards, Conke @ AMD, Inc. - 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/