Bug 257207 - [puc] [patch] Add support for Exar XR17V354 Quad PCI Express UART
Summary: [puc] [patch] Add support for Exar XR17V354 Quad PCI Express UART
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Some People
Assignee: Yoshihiro Takahashi
URL:
Keywords: easy, patch
Depends on:
Blocks:
 
Reported: 2021-07-15 14:01 UTC by Teerayut Hiruntaraporn
Modified: 2024-01-15 10:38 UTC (History)
1 user (show)

See Also:
nyan: mfc-stable14+
nyan: mfc-stable13+


Attachments
/usr/src/sys/dev/puc/pucdata (464 bytes, patch)
2021-07-15 14:01 UTC, Teerayut Hiruntaraporn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Teerayut Hiruntaraporn 2021-07-15 14:01:42 UTC
Created attachment 226485 [details]
/usr/src/sys/dev/puc/pucdata

The original source does support XR17V358, XR17V352 for a while.
But it does not support XR17V354.
By add this patch, this chipset will be found.

Fix: Add card's PCI ID to puc(4) driver:
How-To-Repeat: 
	Use XR17V354 chipset serial card, 
	ports do not attach:


Jul 14 15:43:14 test kernel: puc0: <Exar XR17V354> mem 0xdef00000-0xdef03fff irq 19 at device 0.0 on pci12
Jul 14 15:43:14 test kernel: uart2: <16x50 with 256 byte FIFO> at port 1 on puc0
Jul 14 15:43:14 test kernel: uart3: <16x50 with 256 byte FIFO> at port 2 on puc0
Jul 14 15:43:14 test kernel: uart4: <16x50 with 256 byte FIFO> at port 3 on puc0
Jul 14 15:43:14 test kernel: uart5: <16x50 with 256 byte FIFO> at port 4 on puc0
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:46 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-01-08 06:35:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=5704277ae58b3498fbee2d041cd18d2444f5cf98

commit 5704277ae58b3498fbee2d041cd18d2444f5cf98
Author:     Teerayut Hiruntaraporn <teerayut.h@throughwave.co.th>
AuthorDate: 2024-01-08 06:31:19 +0000
Commit:     Yoshihiro Takahashi <nyan@FreeBSD.org>
CommitDate: 2024-01-08 06:31:19 +0000

    puc: Add support for Exar XR17V354 Quad PCI Express UART.

    PR:             257207
    MFC after:      1 week

 sys/dev/puc/pucdata.c | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-01-15 10:24:32 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=4776a7f06e81d93c5305f958d76aeb18b08fb5ec

commit 4776a7f06e81d93c5305f958d76aeb18b08fb5ec
Author:     Teerayut Hiruntaraporn <teerayut.h@throughwave.co.th>
AuthorDate: 2024-01-08 06:31:19 +0000
Commit:     Yoshihiro Takahashi <nyan@FreeBSD.org>
CommitDate: 2024-01-15 10:22:48 +0000

    puc: Add support for Exar XR17V354 Quad PCI Express UART.

    PR:             257207
    MFC after:      1 week

    (cherry picked from commit 5704277ae58b3498fbee2d041cd18d2444f5cf98)

 sys/dev/puc/pucdata.c | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-01-15 10:25:35 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=819934841ab0c079f2170467052ba87bd316730a

commit 819934841ab0c079f2170467052ba87bd316730a
Author:     Teerayut Hiruntaraporn <teerayut.h@throughwave.co.th>
AuthorDate: 2024-01-08 06:31:19 +0000
Commit:     Yoshihiro Takahashi <nyan@FreeBSD.org>
CommitDate: 2024-01-15 10:24:37 +0000

    puc: Add support for Exar XR17V354 Quad PCI Express UART.

    PR:             257207
    MFC after:      1 week

    (cherry picked from commit 5704277ae58b3498fbee2d041cd18d2444f5cf98)

 sys/dev/puc/pucdata.c | 7 +++++++
 1 file changed, 7 insertions(+)