Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1300883

[PATCH] PCI: Add quirk for Lite-On IT Corp. / Plextor M6e PCI Express

From Tim Sander <tim@krieglstein.org>
Newsgroups linux.kernel
Subject [PATCH] PCI: Add quirk for Lite-On IT Corp. / Plextor M6e PCI Express
Date 2016-01-04 18:00 +0100
Message-ID <qNgEa-609-5@gated-at.bofh.it> (permalink)
Organization Sander and Lightning

Show all headers | View raw


Hi

Please consider this patch for the next release. It won't recognize my Plextor
M6e PCIE disk without it. Please cc as i am not on the list.

Signed-off-by: Tim Sander <tim@krieglstein.org>

PCI: Add quirk for Lite-On IT Corp. / Plextor M6e PCI Express SSD [Marvell 88SS9183] (rev 14)
---
 drivers/pci/quirks.c    | 4 ++++
 include/linux/pci_ids.h | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 7e32730..93ec5a02 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3620,6 +3620,10 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TTI, 0x0642,
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_JMICRON,
                         PCI_DEVICE_ID_JMICRON_JMB388_ESD,
                         quirk_dma_func1_alias);
+/* https://bugzilla.kernel.org/show_bug.cgi?id=42679 */
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LITE_ON,
+                        PCI_DEVICE_ID_PLEXTOR_M6E,
+                        quirk_dma_func1_alias);
 
 /*
  * Some devices DMA with the wrong devfn, not just the wrong function.
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index d9ba49c..01d8041 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -2501,6 +2501,9 @@
 
 #define PCI_VENDOR_ID_ASMEDIA          0x1b21
 
+#define PCI_VENDOR_ID_LITE_ON          0x1c28
+#define PCI_DEVICE_ID_PLEXTOR_M6E      0x0122
+
 #define PCI_VENDOR_ID_CIRCUITCO                0x1cc8
 #define PCI_SUBSYSTEM_ID_CIRCUITCO_MINNOWBOARD 0x0001
 
-- 
1.9.1


--
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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] PCI: Add quirk for Lite-On IT Corp. / Plextor M6e PCI Express Tim Sander <tim@krieglstein.org> - 2016-01-04 18:00 +0100
  Re: [PATCH] PCI: Add quirk for Lite-On IT Corp. / Plextor M6e PCI  Express Bjorn Helgaas <helgaas@kernel.org> - 2016-01-08 21:50 +0100
    Re: [PATCH] PCI: Add quirk for Lite-On IT Corp. / Plextor M6e PCI  Express Alex Williamson <alex.williamson@redhat.com> - 2016-01-08 22:20 +0100

csiph-web