Module Name:    src
Committed By:   cegger
Date:           Fri Apr 17 19:02:04 UTC 2009

Modified Files:
        src/share/man/man9: pci.9

Log Message:
pci_activate() wants a device and not a softc. This matches the implementation.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man9/pci.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/pci.9
diff -u src/share/man/man9/pci.9:1.28 src/share/man/man9/pci.9:1.29
--- src/share/man/man9/pci.9:1.28	Fri Apr 17 18:28:39 2009
+++ src/share/man/man9/pci.9	Fri Apr 17 19:02:03 2009
@@ -1,4 +1,4 @@
-.\"     $NetBSD: pci.9,v 1.28 2009/04/17 18:28:39 cegger Exp $
+.\"     $NetBSD: pci.9,v 1.29 2009/04/17 19:02:03 cegger Exp $
 .\"
 .\" Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -66,9 +66,9 @@
 .In dev/pci/pcireg.h
 .In dev/pci/pcidevs.h
 .Ft int
-.Fn pci_activate "pci_chipset_tag_t pc" "pcitag_t tag" "void *sc" \
+.Fn pci_activate "pci_chipset_tag_t pc" "pcitag_t tag" "device_t dev" \
 "int (*wakeup)(pci_chipset_tag_t pc, pcitag_t tag" \
-"\t\tvoid *sc, pcireg_t reg)"
+"\t\tdevice_t dev, pcireg_t reg)"
 .Ft pcireg_t
 .Fn pci_conf_read "pci_chipset_tag_t pc" "pcitag_t tag" "int reg"
 .Ft void
@@ -216,7 +216,7 @@
 .El
 .Sh FUNCTIONS
 .Bl -tag -width compact
-.It Fn pci_activate "pc" "tag" "sc" "fun"
+.It Fn pci_activate "pc" "tag" "dev" "fun"
 Attempt to bring the device to state D0.
 If the device is not in the D0 state call
 .Fa fun

Reply via email to