Bug 191266 - [patch] support Broadcom virtual UART
Summary: [patch] support Broadcom virtual UART
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Marcel Moolenaar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-22 09:32 UTC by Stephen Hurd
Modified: 2015-08-12 20:03 UTC (History)
0 users

See Also:


Attachments
Add support for Broadcom 5725/5761/5762 UART (1.68 KB, patch)
2014-06-22 09:32 UTC, Stephen Hurd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.