Bug 90830

Summary: [patch] update for books/arch-handbook/pci
Product: Documentation Reporter: Marius Nuennerich <marius.nuennerich>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pci.diff none

Description Marius Nuennerich 2005-12-22 23:10:02 UTC

The attached patch is an update to the PCI chapter in the Architecture Handbook.
I tried to compile the old code but that isn't possible anymore
because of phk's dev_t -> struct cdev * change. Being new to PCI programming
I changed a few other things in the sample that confused me and that I learned
while reading other documentation about the topic.
Being also new to docbook my xml probably isn't the best.
Comment 1 John Baldwin freebsd_committer freebsd_triage 2006-01-06 21:25:25 UTC
On Thursday 22 December 2005 06:00 pm, Marius Nuennerich wrote:
> >Number:         90830
> >Category:       docs
> >Synopsis:       Update for books/arch-handbook/pci
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-doc
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          doc-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Thu Dec 22 23:10:02 GMT 2005
> >Closed-Date:
> >Last-Modified:
> >Originator:     Marius Nuennerich
> >Release:        FreeBSD 5.4-RELEASE-p5 i386
> >Organization:
> >Environment:
> >
> >
> >
> >
> >
> >Description:
>
> The attached patch is an update to the PCI chapter in the Architecture
> Handbook. I tried to compile the old code but that isn't possible anymore
> because of phk's dev_t -> struct cdev * change. Being new to PCI
> programming I changed a few other things in the sample that confused me and
> that I learned while reading other documentation about the topic.
> Being also new to docbook my xml probably isn't the best.

Thanks for the updates.  I've applied some of them and made some additional 
changes myself.  The sample was missing D_VERSION which means it wouldn't 
have actually worked either.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Comment 2 John Baldwin freebsd_committer freebsd_triage 2006-01-06 22:04:54 UTC
State Changed
From-To: open->closed

Patch committed (with some additional changes).