-
Notifications
You must be signed in to change notification settings - Fork 0
/
elgato-quirk-not-working-forme_patch
46 lines (40 loc) · 1.39 KB
/
elgato-quirk-not-working-forme_patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From b8425aaca49e8f88d114426626cd8266e1e37d34 Mon Sep 17 00:00:00 2001
From: Morgan Jones <[email protected]>
Date: Sun, 13 Mar 2016 00:56:04 +0000
Subject: [PATCH] Add quirks for Yuan Yuan Enterprises capture cards
---
drivers/pci/quirks.c | 7 +++++++
include/linux/pci_ids.h | 4 ++++
2 files changed, 11 insertions(+)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 7e32730..77d48d9 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3123,6 +3123,13 @@ static void quirk_no_bus_reset(struct pci_dev *dev)
*/
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0030, quirk_no_bus_reset);
+/*
+ * Yuan Yuan Enterprises PCI capture cards based on the Mozart 395S
+ * completely break on bus reset.
+ */
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_YYE, PCI_DEVICE_ID_YYE_MOZART_395S,
+ quirk_no_bus_reset);
+
static void quirk_no_pm_reset(struct pci_dev *dev)
{
/*
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index d9ba49c..46e5c63 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1767,6 +1767,10 @@
/* formerly Platform Tech */
#define PCI_DEVICE_ID_ESS_ESS0100 0x0100
+/* Yuan Yuan Enterprise Co. Ltd (e.g. Elgato HD60 Pro capture cards) */
+#define PCI_VENDOR_ID_YYE 0x12ab
+#define PCI_DEVICE_ID_YYE_MOZART_395S 0x0380 /* Elgato HD60 Pro */
+
#define PCI_VENDOR_ID_ALTEON 0x12ae
#define PCI_SUBVENDOR_ID_CONNECT_TECH 0x12c4
--
2.7.3