svn commit: r331509 - stable/11/sys/dev/usb/serial

Ian Lepore ian at FreeBSD.org
Sun Mar 25 00:50:28 UTC 2018


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),


More information about the svn-src-stable mailing list