From nobody Sun Nov 17 16:00:54 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XrwTf5QBPz5d4Wd; Sun, 17 Nov 2024 16:00:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XrwTf4mz5z4WpT; Sun, 17 Nov 2024 16:00:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731859254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CXzQdZ+xlWIhGzw20GG1PvT8C9txGX31ywDRZ3GtKF4=; b=psYS07Zvw4yPDkJJIF+sc5Flczcz69ILBpFsSAeVhz50mGDo9gqEAMmzlFyT/dJV+2KWGb KzSc1YYUAiVTRYW9LMGIpkbR0OEXxqOvAwhXdzz+9gDdI0jYyr7vrswYW/boIKG8jhAm3F wylaobosgywhSFHYxiF8LOiO3+FxIaqNQ4w8WroKeJW2eeDuqLBa7FgWc/NXDQTFi+XQCc jKo2/sS3a4gT2iVYrxCK2EAot55P+rPwTk1TXNlil9S0t1Q1u0GpRfYl2RhugylQZZ0BUY fh9sUzREt2cwmvv3Kq2CwgxHNWzL6P6f7ohTJHgo30inonlgf0tRpBOrAnJqRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731859254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CXzQdZ+xlWIhGzw20GG1PvT8C9txGX31ywDRZ3GtKF4=; b=RpeHeTBgj5tpH5tCA6gyBLuwg77LIECB8ZUD5m8VSMWiFPp79LZhmWSbk2oxuexQFOQL4l YlCoTqGbCZWXPJQO6vMOZyYX8o856hU6EbT2fF5Uma2Jn4rGH/wZSEabxU6bUrJKAPy5+/ GSdl6TdHUTU7F4cGPtbUWVW2w0m/gXsaHshTsUACzjsbMPAGRQWwlHpZU2Z6MyS3azJmBk KhcfQdEt8PfhFNKfl7r1IciG/zlmPVCwOZErwUocxM04SP3qAJNmy7ercKwgrAuofZyziP G1gBJ4PT/A+hq82oUDCo84UYHPRTHSZu1ha9yhN1ZRhQokIv2TPQemxLl2P8Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731859254; a=rsa-sha256; cv=none; b=XBF+DXUtgiUH1urbCjfhCVtWrfvj/HQCF6R7IQI+f+G6JQY52O7EhXrVkZh0RGXg0RZPxS PG6fNssdUEJ1lsFfR5x4Upox/cDIVDMIihtBHX/3DgPv4T1IcK9KwgAybmlfuknuitsIWE BkgntQyNBmXYfUJSq+dvA+7Gh7o/4kxyX9hmK+Ko0gXrVHqDeTkmBY4ah7/EEUDZVE9vUU xx0ALP7uWqsWuQVpv63VX+41kJXLNK1YMvgSeINZ/JiLv3huydO94l5cI2WeEjJIxRi1Ad BJIDE99iZ+A5o9mZMI2uUvx3Soiq/YJHs4QsyyrEXUxWFt/xhAB/2uygx0fmDw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XrwTf4NKnzxxd; Sun, 17 Nov 2024 16:00:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AHG0sgU052470; Sun, 17 Nov 2024 16:00:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AHG0svI052467; Sun, 17 Nov 2024 16:00:54 GMT (envelope-from git) Date: Sun, 17 Nov 2024 16:00:54 GMT Message-Id: <202411171600.4AHG0svI052467@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Hajimu UMEMOTO Subject: git: c3a377dbbb87 - stable/13 - usb: Add support for Brainboxes USB-to-Serial adapters List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ume X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: c3a377dbbb87413eda18b8581126c215efc931f1 Auto-Submitted: auto-generated The branch stable/13 has been updated by ume: URL: https://cgit.FreeBSD.org/src/commit/?id=c3a377dbbb87413eda18b8581126c215efc931f1 commit c3a377dbbb87413eda18b8581126c215efc931f1 Author: Hajimu UMEMOTO AuthorDate: 2024-11-11 12:14:05 +0000 Commit: Hajimu UMEMOTO CommitDate: 2024-11-17 09:59:26 +0000 usb: Add support for Brainboxes USB-to-Serial adapters PR: 277482 Reported by: Cameron Williams (cherry picked from commit 8eaeaf5c467866cf72701cdc34f7ab2ee3c2f123) --- sys/dev/usb/serial/uftdi.c | 18 ++++++++++++++++++ sys/dev/usb/usbdevs | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/sys/dev/usb/serial/uftdi.c b/sys/dev/usb/serial/uftdi.c index 0a8d27c9e9c3..365e57692b71 100644 --- a/sys/dev/usb/serial/uftdi.c +++ b/sys/dev/usb/serial/uftdi.c @@ -291,8 +291,26 @@ static const STRUCT_USB_HOST_ID uftdi_devs[] = { UFTDI_DEV(BBELECTRONICS, USPTL4, 0), UFTDI_DEV(BBELECTRONICS, USTL4, 0), UFTDI_DEV(BBELECTRONICS, ZZ_PROG1_USB, 0), + UFTDI_DEV(BRAINBOXES, US101, 0), + UFTDI_DEV(BRAINBOXES, US159, 0), + UFTDI_DEV(BRAINBOXES, US235, 0), UFTDI_DEV(BRAINBOXES, US257, 0), UFTDI_DEV(BRAINBOXES, US25701, 0), + UFTDI_DEV(BRAINBOXES, US279_12, 0), + UFTDI_DEV(BRAINBOXES, US279_34, 0), + UFTDI_DEV(BRAINBOXES, US279_56, 0), + UFTDI_DEV(BRAINBOXES, US279_78, 0), + UFTDI_DEV(BRAINBOXES, US313, 0), + UFTDI_DEV(BRAINBOXES, US320, 0), + UFTDI_DEV(BRAINBOXES, US324, 0), + UFTDI_DEV(BRAINBOXES, US346_12, 0), + UFTDI_DEV(BRAINBOXES, US346_34, 0), + UFTDI_DEV(BRAINBOXES, US701_12, 0), + UFTDI_DEV(BRAINBOXES, US701_34, 0), + UFTDI_DEV(BRAINBOXES, US842_12, 0), + UFTDI_DEV(BRAINBOXES, US842_34, 0), + UFTDI_DEV(BRAINBOXES, US842_56, 0), + UFTDI_DEV(BRAINBOXES, US842_78, 0), UFTDI_DEV(CONTEC, COM1USBH, 0), UFTDI_DEV(DRESDENELEKTRONIK, SENSORTERMINALBOARD, 0), UFTDI_DEV(DRESDENELEKTRONIK, WIRELESSHANDHELDTERMINAL, 0), diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index 76270f596295..c08ce9bca1e2 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1420,8 +1420,26 @@ product BILLIONTON USBE100 0x8511 USBE100 product BILLIONTON USB2AR 0x90ff USB2AR Ethernet /* Brainboxes Limited products */ +product BRAINBOXES US101 0x1011 US-101 USB2Serial 1xRS232 +product BRAINBOXES US159 0x1021 US-159 USB2Serial 1xRS232 +product BRAINBOXES US235 0x1017 US-235 USB2Serial 1xRS232 product BRAINBOXES US257 0x5001 US-257 USB2Serial 2xRS232 product BRAINBOXES US25701 0x5002 US-25701 USB2Serial 2xRS232 +product BRAINBOXES US279_12 0x2021 US-279 USB2Serial 8xRS232 (Port 1 and 2) +product BRAINBOXES US279_34 0x2022 US-279 USB2Serial 8xRS232 (Port 3 and 4) +product BRAINBOXES US279_56 0x2023 US-279 USB2Serial 8xRS232 (Port 5 and 6) +product BRAINBOXES US279_78 0x2024 US-279 USB2Serial 8xRS232 (Port 7 and 8) +product BRAINBOXES US313 0x6001 US-313 USB2Serial 2xRS422/485 +product BRAINBOXES US320 0x1019 US-320 USB2Serial 1xRS422/485 +product BRAINBOXES US324 0x1013 US-324 USB2Serial 1xRS422/485 +product BRAINBOXES US346_12 0x3011 US-346 USB2Serial 4xRS422/485 (Port 1 and 2) +product BRAINBOXES US346_34 0x3012 US-346 USB2Serial 4xRS422/485 (Port 3 and 4) +product BRAINBOXES US701_12 0x2011 US-701 USB2Serial 4xRS232 (Port 1 and 2) +product BRAINBOXES US701_34 0x2012 US-701 USB2Serial 4xRS232 (Port 3 and 4) +product BRAINBOXES US842_12 0x8001 US-842 USB2Serial 8xRS-422/485 (Port 1 and 2) +product BRAINBOXES US842_34 0x8002 US-842 USB2Serial 8xRS-422/485 (Port 3 and 4) +product BRAINBOXES US842_56 0x8003 US-842 USB2Serial 8xRS-422/485 (Port 5 and 6) +product BRAINBOXES US842_78 0x8004 US-842 USB2Serial 8xRS-422/485 (Port 7 and 8) /* Broadcom products */ product BROADCOM BCM2033 0x2033 BCM2033 Bluetooth USB dongle