Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2251430imm; Thu, 7 Jun 2018 07:43:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIS6qrxcbIGCtNGA2tWFizEnL9Ul04km5D+PbGICEePu8u7mhzufuesiyWf8z/tWA11cuMU X-Received: by 2002:a62:fe19:: with SMTP id z25-v6mr2010055pfh.167.1528382618593; Thu, 07 Jun 2018 07:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528382618; cv=none; d=google.com; s=arc-20160816; b=LIrCKbBjFXnNbV8LERKo4xuA3xgop7qCaS9wFCGr5MX0M1Eb8krkpjwPnWs/D9hgDk WiipJAO0pWKjhj8nZiwJqhrpH+XIujNqM6wqNvXoY2lW/Gv6luAk62ZAVxshgne9g/MR zFBxYmRjQuQimYu8Eqc1ec9KLM1RKJARBJFcaJkCATNidB8+kdoLDYp7PMaTgQKxK5N0 u9Ys58ISN73axTZ6YU+WrkLwZvDyXJYM84tZANnTi0/H4hSCw0jVcGzHu4d9J1G8UdMG DR41jWdSAchv/63obX0dPZwEgGbEuRtYfBvDWtgwvWQabEWkUCNDcTcWIi31gmBAk2IU DRRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=ZEfo9yOLobbvClNozQqDfAlCBMP+6lZLVWbMJRecrjQ=; b=VDA57N9rrbA+QtaNPE4Y+IdHI6WTKlduFBkqhjNd2GplPXtLmQh8K4JT4PB9tSodeO zr8UdopmaWR+xvuXvlxGTTWtjlbi6VMEa6q2H7vWC1YRqODzCIgXYRyZxQk2eM7zZlj0 AfB3c+L8uZUJb9orP2FfN7tOKEBBAJ1oSvzGF9rD7nC18nO3RbVGzPzN7WKbpuU87J8B /Hy5k71D08WdFKFpWdksKvXlZi4QWUa8KLbwp4To5v1smj8K+B6NDZAX6FXvuPnCtWVc GSSfJOiQhmd+fr4Uclzi5yF1a0i4i/2FwWw549HEdm0tLgpj49KnRZZ5Vjw4bP5TCgD6 9yCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k185-v6si4158947pgc.468.2018.06.07.07.43.24; Thu, 07 Jun 2018 07:43:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934571AbeFGOkv (ORCPT + 99 others); Thu, 7 Jun 2018 10:40:51 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:40567 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934559AbeFGOkt (ORCPT ); Thu, 7 Jun 2018 10:40:49 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbr-0005Zq-Iu; Thu, 07 Jun 2018 15:09:51 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb1-0002q4-RH; Thu, 07 Jun 2018 15:08:59 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Tejun Heo" , "Alexandra Yates" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 110/410] ahci: Order SATA device IDs for codename Lewisburg In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Alexandra Yates commit 4d92f0099a06ef0e36c7673f7c090f1a448b2d1b upstream. This change was to preserve the ascending order of device IDs. There was an exception with the first two Lewisburg device IDs to keep all device IDs of the same kind grouped by code name. Signed-off-by: Alexandra Yates signed-off-by: Tejun Heo Signed-off-by: Ben Hutchings --- drivers/ata/ahci.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -332,16 +332,6 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0x1f37), board_ahci_avn }, /* Avoton RAID */ { PCI_VDEVICE(INTEL, 0x1f3e), board_ahci_avn }, /* Avoton RAID */ { PCI_VDEVICE(INTEL, 0x1f3f), board_ahci_avn }, /* Avoton RAID */ - { PCI_VDEVICE(INTEL, 0xa182), board_ahci }, /* Lewisburg AHCI*/ - { PCI_VDEVICE(INTEL, 0xa202), board_ahci }, /* Lewisburg AHCI*/ - { PCI_VDEVICE(INTEL, 0xa184), board_ahci }, /* Lewisburg RAID*/ - { PCI_VDEVICE(INTEL, 0xa204), board_ahci }, /* Lewisburg RAID*/ - { PCI_VDEVICE(INTEL, 0xa186), board_ahci }, /* Lewisburg RAID*/ - { PCI_VDEVICE(INTEL, 0xa206), board_ahci }, /* Lewisburg RAID*/ - { PCI_VDEVICE(INTEL, 0x2822), board_ahci }, /* Lewisburg RAID*/ - { PCI_VDEVICE(INTEL, 0x2826), board_ahci }, /* Lewisburg RAID*/ - { PCI_VDEVICE(INTEL, 0xa18e), board_ahci }, /* Lewisburg RAID*/ - { PCI_VDEVICE(INTEL, 0xa20e), board_ahci }, /* Lewisburg RAID*/ { PCI_VDEVICE(INTEL, 0x2823), board_ahci }, /* Wellsburg RAID */ { PCI_VDEVICE(INTEL, 0x2827), board_ahci }, /* Wellsburg RAID */ { PCI_VDEVICE(INTEL, 0x8d02), board_ahci }, /* Wellsburg AHCI */ @@ -374,6 +364,16 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0xa106), board_ahci }, /* Sunrise Point-H RAID */ { PCI_VDEVICE(INTEL, 0xa107), board_ahci }, /* Sunrise Point-H RAID */ { PCI_VDEVICE(INTEL, 0xa10f), board_ahci }, /* Sunrise Point-H RAID */ + { PCI_VDEVICE(INTEL, 0x2822), board_ahci }, /* Lewisburg RAID*/ + { PCI_VDEVICE(INTEL, 0x2826), board_ahci }, /* Lewisburg RAID*/ + { PCI_VDEVICE(INTEL, 0xa182), board_ahci }, /* Lewisburg AHCI*/ + { PCI_VDEVICE(INTEL, 0xa184), board_ahci }, /* Lewisburg RAID*/ + { PCI_VDEVICE(INTEL, 0xa186), board_ahci }, /* Lewisburg RAID*/ + { PCI_VDEVICE(INTEL, 0xa18e), board_ahci }, /* Lewisburg RAID*/ + { PCI_VDEVICE(INTEL, 0xa202), board_ahci }, /* Lewisburg AHCI*/ + { PCI_VDEVICE(INTEL, 0xa204), board_ahci }, /* Lewisburg RAID*/ + { PCI_VDEVICE(INTEL, 0xa206), board_ahci }, /* Lewisburg RAID*/ + { PCI_VDEVICE(INTEL, 0xa20e), board_ahci }, /* Lewisburg RAID*/ /* JMicron 360/1/3/5/6, match class to avoid IDE function */ { PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,