svn commit: r330385 - head/sys/dev/usb/serial
Ian Lepore
ian at FreeBSD.org
Sun Mar 4 17:30:17 UTC 2018
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),
More information about the svn-src-all
mailing list