Project

General

Profile

Feature #10945

ddi_regs_map_setup(9F) could clarify rnumber

Added by Robert Mustacchi 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
manpage - manual pages
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

When writing a new PCIe device driver, a common question is what is the value that should be placed into the nrumber argument of ddi_regs_map_setup(9F). Most folks would not know there are manual pages (which themselves need improvements) that describe the register layouts. We should also just provide a hint for PCI devices, which are the most common, about how BARs map into these.

History

#1

Updated by Electric Monk 4 months ago

  • Status changed from New to Closed

git commit 9d48b35be7d9e9a048cb0083d02dfca25362e44e

commit  9d48b35be7d9e9a048cb0083d02dfca25362e44e
Author: Robert Mustacchi <rm@joyent.com>
Date:   2019-06-04T14:22:36.000Z

    10945 ddi_regs_map_setup(9F) could clarify rnumber
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
    Reviewed by: Joshua Clulow <jmc@joyent.com>
    Reviewed by: Toomas Soome <toomas@me.com>
    Reviewed by: Gordon Ross <gwr@nexenta.com>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF