Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2018 00:50:27 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331509 - stable/11/sys/dev/usb/serial
Message-ID:  <201803250050.w2P0oRrU076215@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Mar 25 00:50:27 2018
New Revision: 331509
URL: https://svnweb.freebsd.org/changeset/base/331509

Log:
  MFC r330385:
  
  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:
  stable/11/sys/dev/usb/serial/uftdi.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/usb/serial/uftdi.c
==============================================================================
--- stable/11/sys/dev/usb/serial/uftdi.c	Sat Mar 24 23:58:44 2018	(r331508)
+++ stable/11/sys/dev/usb/serial/uftdi.c	Sun Mar 25 00:50:27 2018	(r331509)
@@ -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?201803250050.w2P0oRrU076215>