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


Groups > linux.kernel > #1455703

[PATCH] thunderbolt: Don't declare Falcon Ridge unsupported

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Lukas Wunner <lukas@wunner.de>
Newsgroups linux.kernel
Subject [PATCH] thunderbolt: Don't declare Falcon Ridge unsupported
Date Wed, 03 Aug 2016 10:50:01 +0200
Message-ID <s202d-eJ-15@gated-at.bofh.it> (permalink)
References <rZdIl-4pd-11@gated-at.bofh.it>
X-Mailbox-Line From 2854e6672ea67bdbbf0edb3a6418ea4c013fb91c Mon Sep 17 00:00:00 2001
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
X-Original-Cc Xavier Gnata <xavier.gnata@gmail.com>
X-Original-Date Wed, 3 Aug 2016 10:44:12 +0200
X-Original-Message-ID <2854e6672ea67bdbbf0edb3a6418ea4c013fb91c.1470213106.git.lukas@wunner.de>
X-Original-References <20160726164038.1481-1-andreas.noever@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1455703

Show key headers only | View raw


Falcon Ridge 4C has been supported by the driver from the beginning,
Falcon Ridge 2C support was just added. Don't irritate users with a
warning declaring the opposite.

Cc: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
---
 drivers/thunderbolt/switch.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/thunderbolt/switch.c b/drivers/thunderbolt/switch.c
index 1e116f5..9840fde 100644
--- a/drivers/thunderbolt/switch.c
+++ b/drivers/thunderbolt/switch.c
@@ -372,7 +372,9 @@ struct tb_switch *tb_switch_alloc(struct tb *tb, u64 route)
 
 	if (sw->config.device_id != PCI_DEVICE_ID_INTEL_LIGHT_RIDGE &&
 	    sw->config.device_id != PCI_DEVICE_ID_INTEL_CACTUS_RIDGE_4C &&
-	    sw->config.device_id != PCI_DEVICE_ID_INTEL_PORT_RIDGE)
+	    sw->config.device_id != PCI_DEVICE_ID_INTEL_PORT_RIDGE &&
+	    sw->config.device_id != PCI_DEVICE_ID_INTEL_FALCON_RIDGE_2C_BRIDGE &&
+	    sw->config.device_id != PCI_DEVICE_ID_INTEL_FALCON_RIDGE_4C_BRIDGE)
 		tb_sw_warn(sw, "unsupported switch device id %#x\n",
 			   sw->config.device_id);
 
-- 
2.8.1

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


Thread

[PATCH 1/2] thunderbolt: Fix resume quirk for Falcon Ridge 4C. Andreas Noever <andreas.noever@gmail.com> - 2016-07-26 18:50 +0200
  Re: [PATCH 1/2] thunderbolt: Fix resume quirk for Falcon Ridge 4C. Lukas Wunner <lukas@wunner.de> - 2016-08-03 10:50 +0200
  [PATCH] thunderbolt: Don't declare Falcon Ridge unsupported Lukas Wunner <lukas@wunner.de> - 2016-08-03 10:50 +0200
    Re: [PATCH] thunderbolt: Don't declare Falcon Ridge unsupported Andreas Noever <andreas.noever@gmail.com> - 2016-08-08 09:30 +0200

csiph-web