Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753997AbcJDRUP (ORCPT ); Tue, 4 Oct 2016 13:20:15 -0400 Received: from mxh2.seznam.cz ([77.75.76.26]:49095 "EHLO mxh2.seznam.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764AbcJDRUO (ORCPT ); Tue, 4 Oct 2016 13:20:14 -0400 X-Greylist: delayed 747 seconds by postgrey-1.27 at vger.kernel.org; Tue, 04 Oct 2016 13:20:13 EDT From: "Frantisek Rysanek" To: linux-kernel@vger.kernel.org Date: Tue, 04 Oct 2016 19:07:40 +0200 MIME-Version: 1.0 Content-type: Multipart/Mixed; boundary=Message-Boundary-9077 Subject: patch: add specific support for Marvell MV88SE9186 (AHCI + PCI quirk) Message-ID: <57F3E1DC.25453.3ED6C876@Frantisek.Rysanek.post.cz> X-mailer: Pegasus Mail for Windows (4.63) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3360 Lines: 73 --Message-Boundary-9077 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Dear polite inhabitants of LKML, see the attached patch - I think it's pretty clear and simple. Today I've found myself in a situation where an onboard AHCI chip from Marvell did not properly detect a DVD drive. Not so long story short, I had to add the device ID to both drivers/ata/ahci.c and to drivers/pci/quirks.c . Problem gone. 88SE9186 is indeed printed on the chip's package. Spotted on Advantech ASMB-785 (industrial ATX mobo). Tested in 4.7.6 , but I can see in git.kernel.org that the files have not changed in a related way since then. Thanks for your attention, and for the great job that you're doing. Especially Alex Williamson deserves credit for this one :-) Signed-off-by: Frank Rysanek --Message-Boundary-9077 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information. The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any other MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: MV88SE9186.patch Date: 4 Oct 2016, 16:20 Size: 1207 bytes. Type: Unknown --Message-Boundary-9077 Content-type: Application/Octet-stream; name="MV88SE9186.patch"; type=Unknown Content-disposition: attachment; filename="MV88SE9186.patch" Content-transfer-encoding: BASE64 LS0tIGRyaXZlcnMvYXRhL2FoY2kuYy5vbGQJMjAxNi0xMC0wNCAxNTowNTo1OC4wMDYyMzM4 MTMgKzAyMDAKKysrIGRyaXZlcnMvYXRhL2FoY2kuYwkyMDE2LTEwLTA0IDE1OjExOjQyLjY3 ODI0NzQ4MSArMDIwMApAQCAtNTI0LDYgKzUyNCw4IEBACiAJICAuZHJpdmVyX2RhdGEgPSBi b2FyZF9haGNpX3llc19mYnMgfSwJCQkvKiA4OHNlOTE4MiAqLwogCXsgUENJX0RFVklDRShQ Q0lfVkVORE9SX0lEX01BUlZFTExfRVhULCAweDkxODIpLAogCSAgLmRyaXZlcl9kYXRhID0g Ym9hcmRfYWhjaV95ZXNfZmJzIH0sCQkJLyogODhzZTkxNzIgKi8KKwl7IFBDSV9ERVZJQ0Uo UENJX1ZFTkRPUl9JRF9NQVJWRUxMX0VYVCwgMHg5MTg2KSwKKwkgIC5kcml2ZXJfZGF0YSA9 IGJvYXJkX2FoY2lfeWVzX2ZicyB9LAkJCS8qIDg4c2U5MTg2ICovCiAJeyBQQ0lfREVWSUNF KFBDSV9WRU5ET1JfSURfTUFSVkVMTF9FWFQsIDB4OTE5MiksCiAJICAuZHJpdmVyX2RhdGEg PSBib2FyZF9haGNpX3llc19mYnMgfSwJCQkvKiA4OHNlOTE3MiBvbiBzb21lIEdpZ2FieXRl ICovCiAJeyBQQ0lfREVWSUNFKFBDSV9WRU5ET1JfSURfTUFSVkVMTF9FWFQsIDB4OTFhMCks Ci0tLSBkcml2ZXJzL3BjaS9xdWlya3MuYy5vbGQJMjAxNi0xMC0wNCAxNTo0NTo0NS44MDYz Mjg0OTkgKzAyMDAKKysrIGRyaXZlcnMvcGNpL3F1aXJrcy5jCTIwMTYtMTAtMDQ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