[PATCH 1/1] firewire: ohci: enable SLLZ059 erratum with XIO2213 OHCI chip

From: Jan-Jaap van der Heijden
Date: Fri Dec 11 2020 - 08:45:44 EST


The XIO2213 PCIe to 1394b OHCI controller can be used with an external
PHY chip instead of the built-in one. In order to support the combination
of the XIO2213 with a TSB41BA3D PHY chip, we need to enable the SLLZ059
erratum for the XIO2213 like we do for other TI 1394 link layer chips.

Signed-off-by: Jan-Jaap van der Heijden <janjaap@xxxxxxxxxxxxxxxxx>
Signed-off-by: Jeroen de Zoeten <jeroen@xxxxxxxxxxxxxxxxx>
---

 ohci.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c
index 9811c40956e5..142511a57a05 100644
--- a/drivers/firewire/ohci.c
+++ b/drivers/firewire/ohci.c
@@ -267,6 +267,7 @@ static char ohci_driver_name[] = KBUILD_MODNAME;
 #define PCI_DEVICE_ID_TI_TSB12LV22    0x8009
 #define PCI_DEVICE_ID_TI_TSB12LV26    0x8020
 #define PCI_DEVICE_ID_TI_TSB82AA2    0x8025
+#define PCI_DEVICE_ID_TI_XIO2213    0x823f
 #define PCI_DEVICE_ID_VIA_VT630X    0x3044
 #define PCI_REV_ID_VIA_VT6306        0x46
 #define PCI_DEVICE_ID_VIA_VT6315    0x3403
@@ -316,6 +317,9 @@ static const struct {
     {PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_TSB82AA2, PCI_ANY_ID,
         QUIRK_RESET_PACKET | QUIRK_TI_SLLZ059},

+    {PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_XIO2213, PCI_ANY_ID,
+        QUIRK_RESET_PACKET | QUIRK_TI_SLLZ059},
+
     {PCI_VENDOR_ID_TI, PCI_ANY_ID, PCI_ANY_ID,
         QUIRK_RESET_PACKET},