Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Update manual page for constification of pci_...



details:   https://anonhg.NetBSD.org/src/rev/ef04350f9346
branches:  trunk
changeset: 763851:ef04350f9346
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue Apr 05 14:57:33 2011 +0000

description:
Update manual page for constification of pci_attach_args.

diffstat:

 share/man/man9/pci.9      |  14 +++++++-------
 share/man/man9/pci_intr.9 |   6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (84 lines):

diff -r f3ba43e732f1 -r ef04350f9346 share/man/man9/pci.9
--- a/share/man/man9/pci.9      Tue Apr 05 14:04:42 2011 +0000
+++ b/share/man/man9/pci.9      Tue Apr 05 14:57:33 2011 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: pci.9,v 1.32 2010/12/02 12:54:13 wiz Exp $
+.\"     $NetBSD: pci.9,v 1.33 2011/04/05 14:57:33 dyoung Exp $
 .\"
 .\" Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 28, 2010
+.Dd April 5, 2011
 .Dt PCI 9
 .Os
 .Sh NAME
@@ -92,25 +92,25 @@
 "struct pci_conf_state *"
 .Ft int
 .Fn pci_find_device "struct pci_attach_args *pa" \
-"int (*func)(struct pci_attach_args *)"
+"int (*func)(const struct pci_attach_args *)"
 .Ft int
 .Fn pci_get_capability "pci_chipset_tag_t pc" "pcitag_t tag" \
 "int capid" "int *offsetp" "pcireg_t *valuep"
 .Ft pcireg_t
 .Fn pci_mapreg_type "pci_chipset_tag_t pc" "pcitag_t tag" "int reg"
 .Ft int
-.Fn pci_mapreg_map "struct pci_attach_args *pa" "int reg" \
+.Fn pci_mapreg_map "const struct pci_attach_args *pa" "int reg" \
 "pcireg_t type"  "int busflags" "bus_space_tag_t *tagp" \
 "bus_space_handle_t *handlep" "bus_addr_t *basep" "bus_size_t *sizep"
 .Ft int
 .Fn pci_mapreg_info "pci_chipset_tag_t pc" "pcitag_t tag" "int reg" \
 "pcireg_t type" "bus_addr_t *basep" "bus_size_t *sizep" "int *flagsp"
 .Ft int
-.Fn pci_find_rom "struct pci_attach_args *pa" \
+.Fn pci_find_rom "const struct pci_attach_args *pa" \
 "bus_space_tag_t bst" "bus_space_handle_t bsh" "int code" \
 "bus_space_handle_t *handlep" "bus_space_size_t *sizep"
 .Ft int
-.Fn pci_intr_map "struct pci_attach_args *pa" "pci_intr_handle_t *ih"
+.Fn pci_intr_map "const struct pci_attach_args *pa" "pci_intr_handle_t *ih"
 .Ft const char *
 .Fn pci_intr_string "pci_chipset_tag_t pc" "pci_intr_handle_t ih"
 .Ft const struct evcnt *
@@ -234,7 +234,7 @@
        void (*ov_conf_write)(void *,
            pci_chipset_tag_t, pcitag_t, int, pcireg_t);
        int (*ov_intr_map)(void *,
-          struct pci_attach_args *, pci_intr_handle_t *);
+          const struct pci_attach_args *, pci_intr_handle_t *);
        const char *(*ov_intr_string)(void *,
            pci_chipset_tag_t, pci_intr_handle_t);
        const struct evcnt *(*ov_intr_evcnt)(void *,
diff -r f3ba43e732f1 -r ef04350f9346 share/man/man9/pci_intr.9
--- a/share/man/man9/pci_intr.9 Tue Apr 05 14:04:42 2011 +0000
+++ b/share/man/man9/pci_intr.9 Tue Apr 05 14:57:33 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_intr.9,v 1.14 2010/03/22 18:58:33 joerg Exp $
+.\" $NetBSD: pci_intr.9,v 1.15 2011/04/05 14:57:33 dyoung Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 19, 2002
+.Dd April 5, 2011
 .Dt PCI_INTR 9
 .Os
 .Sh NAME
@@ -40,7 +40,7 @@
 .Sh SYNOPSIS
 .In dev/pci/pcivar.h
 .Ft int
-.Fn pci_intr_map "struct pci_attach_args *pa" "pci_intr_handle_t *ih"
+.Fn pci_intr_map "const struct pci_attach_args *pa" "pci_intr_handle_t *ih"
 .Ft const char *
 .Fn pci_intr_string "pci_chipset_t *pc" "pci_intr_handle_t ih"
 .Ft void *



Home | Main Index | Thread Index | Old Index