Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • HardenedBSD HardenedBSD
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • HardenedBSDHardenedBSD
  • HardenedBSDHardenedBSD
  • Repository
  • HardenedBSD
  • sys
  • dev
  • uart
  • uart_dev_ns8250.c
Find file BlameHistoryPermalink
  • Adrian Chadd's avatar
    uart(4) - make the 8250 uart baudrate tolerance build time tweakable. · e0fe7c95
    Adrian Chadd authored Nov 18, 2015
    It turns out on a 16550 w/ a 25MHz SoC reference clock you get a little
    over 3% error at 115200 baud, which causes this to fail.
    
    Just .. cope. Things cope these days.
    
    Default to 30 (3.0%) as before, but allow UART_DEV_TOLERANCE_PCT to be
    set at build time to change that.
    e0fe7c95