Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 17:30:16 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330385 - head/sys/dev/usb/serial
Message-ID:  <201803041730.w24HUGtj061972@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Mar  4 17:30:16 2018
New Revision: 330385
URL: https://svnweb.freebsd.org/changeset/base/330385

Log:
  Flag the first interface on a KTLINK FTDI-based jtag+uart device as being
  the jtag port, so that a tty is not created for it.
  
  This is based on information in the PR and from the vendor website.  When
  the PR was first opened we had no facility for flagging the jtag ports.  I
  stumbled across the still-open PR with the idea of closing it, and noticed
  that this wee update was needed.
  
  PR:		175893

Modified:
  head/sys/dev/usb/serial/uftdi.c

Modified: head/sys/dev/usb/serial/uftdi.c
==============================================================================
--- head/sys/dev/usb/serial/uftdi.c	Sun Mar  4 17:06:37 2018	(r330384)
+++ head/sys/dev/usb/serial/uftdi.c	Sun Mar  4 17:30:16 2018	(r330385)
@@ -441,7 +441,7 @@ static const STRUCT_USB_HOST_ID uftdi_devs[] = {
 	UFTDI_DEV(FTDI, IPLUS2, 0),
 	UFTDI_DEV(FTDI, IRTRANS, 0),
 	UFTDI_DEV(FTDI, KBS, 0),
-	UFTDI_DEV(FTDI, KTLINK, 0),
+	UFTDI_DEV(FTDI, KTLINK, UFTDI_JTAG_IFACE(0)),
 	UFTDI_DEV(FTDI, LENZ_LIUSB, 0),
 	UFTDI_DEV(FTDI, LK202, 0),
 	UFTDI_DEV(FTDI, LK204, 0),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803041730.w24HUGtj061972>