From 0ade47aed66312df82c49f1dfa325a67a7dcbbe6 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 4 Jan 2008 08:19:52 +0000 Subject: [PATCH] Modernize this man page a little by describing the pci driver of today, rather than details relevant only to the 3.x pci driver. --- share/man/man4/pci.4 | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/share/man/man4/pci.4 b/share/man/man4/pci.4 index dd7763002a5..cf3b4833a73 100644 --- a/share/man/man4/pci.4 +++ b/share/man/man4/pci.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 30, 2007 +.Dd January 3, 2008 .Dt PCI 4 .Os .Sh NAME @@ -54,13 +54,21 @@ granting access to the device. If used improperly, this driver can allow userland applications to crash a machine or cause data loss. +.Pp +The +.Nm +driver implements the pci bus in the kernel. +It enumerates and devices on the pci bus and gives pci client drivers the +chance to attach to them. +It assigns resources to children, when the BIOS doesn't. +It takes care of routing interrupts when necessary. +It reprobes the unattached pci children when pci client drivers are dynamically +loaded at runtime. .Sh KERNEL CONFIGURATION -It is only necessary to specify one +The .Nm -controller in the kernel. -Additional -.Tn PCI -busses are handled automatically as they are encountered. +device is included in the kernel as described in the SYNOPSIS section. +The pci driver cannot be built as a kld. .Sh IOCTLS The following .Xr ioctl 2