Bug 191266

Summary: [patch] support Broadcom virtual UART
Product: Base System Reporter: Stephen Hurd <shurd>
Component: kernAssignee: Marcel Moolenaar <marcel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add support for Broadcom 5725/5761/5762 UART none

Description Stephen Hurd freebsd_committer freebsd_triage 2014-06-22 09:32:46 UTC
Created attachment 144016 [details]
Add support for Broadcom 5725/5761/5762 UART

The Broadcom 5725, 5761, and 5762 devices have a UART which can be configured to be accessed via ssh, telnet, or (for 5725) IPMI SoL.  This patch adds support for this UART (tested on 5762).

Since it has a register shift, a field for this vale was added into struct pci_id, and the bus_alloc_resource() call was modified to account for the larger size when regshft is non-zero.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-08-12 15:48:58 UTC
A commit references this bug:

Author: marcel
Date: Wed Aug 12 15:48:15 UTC 2015
New revision: 286668
URL: https://svnweb.freebsd.org/changeset/base/286668

Log:
  Add support for the Broadcom TruManage integrated serial port.

  PR:		191266

Changes:
  head/sys/dev/uart/uart_bus_pci.c
Comment 2 Marcel Moolenaar freebsd_committer freebsd_triage 2015-08-12 15:51:50 UTC
Remove 191265 as a dependency. Being able to detect and attach has a higher priority,
as one cannot resolve the buffering related problem without having uart(4) attached.
Comment 3 Marcel Moolenaar freebsd_committer freebsd_triage 2015-08-12 15:52:19 UTC
Thanks for the patch and sorry for the delay.
Comment 4 Stephen Hurd freebsd_committer freebsd_triage 2015-08-12 20:03:50 UTC
If you could use it, I should be able to get you a NIC with this UART on it for testing.