Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/algor/algor Fix more const pci_attach_args fallout.



details:   https://anonhg.NetBSD.org/src/rev/8a04dddfd5ac
branches:  trunk
changeset: 763921:8a04dddfd5ac
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Thu Apr 07 04:01:40 2011 +0000

description:
Fix more const pci_attach_args fallout.

diffstat:

 sys/arch/algor/algor/algor_p4032_intr.c |  9 +++++----
 sys/arch/algor/algor/algor_p6032_intr.c |  9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diffs (74 lines):

diff -r 1cca8d75cd57 -r 8a04dddfd5ac sys/arch/algor/algor/algor_p4032_intr.c
--- a/sys/arch/algor/algor/algor_p4032_intr.c   Thu Apr 07 02:19:28 2011 +0000
+++ b/sys/arch/algor/algor/algor_p4032_intr.c   Thu Apr 07 04:01:40 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: algor_p4032_intr.c,v 1.21 2011/02/20 07:51:21 matt Exp $       */
+/*     $NetBSD: algor_p4032_intr.c,v 1.22 2011/04/07 04:01:40 dyoung Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: algor_p4032_intr.c,v 1.21 2011/02/20 07:51:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: algor_p4032_intr.c,v 1.22 2011/04/07 04:01:40 dyoung Exp $");
 
 #include "opt_ddb.h"
 #define        __INTR_PRIVATE
@@ -219,7 +219,8 @@
 void   *algor_p4032_intr_establish(int, int (*)(void *), void *);
 void   algor_p4032_intr_disestablish(void *);
 
-int    algor_p4032_pci_intr_map(struct pci_attach_args *, pci_intr_handle_t *);
+int    algor_p4032_pci_intr_map(const struct pci_attach_args *,
+           pci_intr_handle_t *);
 const char *algor_p4032_pci_intr_string(void *, pci_intr_handle_t);
 const struct evcnt *algor_p4032_pci_intr_evcnt(void *, pci_intr_handle_t);
 void   *algor_p4032_pci_intr_establish(void *, pci_intr_handle_t, int,
@@ -485,7 +486,7 @@
  *****************************************************************************/
 
 int
-algor_p4032_pci_intr_map(struct pci_attach_args *pa,
+algor_p4032_pci_intr_map(const struct pci_attach_args *pa,
     pci_intr_handle_t *ihp)
 {
        static const int pciirqmap[6/*device*/][4/*pin*/] = {
diff -r 1cca8d75cd57 -r 8a04dddfd5ac sys/arch/algor/algor/algor_p6032_intr.c
--- a/sys/arch/algor/algor/algor_p6032_intr.c   Thu Apr 07 02:19:28 2011 +0000
+++ b/sys/arch/algor/algor/algor_p6032_intr.c   Thu Apr 07 04:01:40 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: algor_p6032_intr.c,v 1.18 2011/03/05 14:04:02 matt Exp $       */
+/*     $NetBSD: algor_p6032_intr.c,v 1.19 2011/04/07 04:01:40 dyoung Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: algor_p6032_intr.c,v 1.18 2011/03/05 14:04:02 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: algor_p6032_intr.c,v 1.19 2011/04/07 04:01:40 dyoung Exp $");
 
 #include "opt_ddb.h"
 #define        __INTR_PRIVATE
@@ -175,7 +175,8 @@
 void   *algor_p6032_intr_establish(int, int (*)(void *), void *);
 void   algor_p6032_intr_disestablish(void *);
 
-int    algor_p6032_pci_intr_map(struct pci_attach_args *, pci_intr_handle_t *);
+int    algor_p6032_pci_intr_map(const struct pci_attach_args *,
+           pci_intr_handle_t *);
 const char *algor_p6032_pci_intr_string(void *, pci_intr_handle_t);
 const struct evcnt *algor_p6032_pci_intr_evcnt(void *, pci_intr_handle_t);
 void   *algor_p6032_pci_intr_establish(void *, pci_intr_handle_t, int,
@@ -419,7 +420,7 @@
  *****************************************************************************/
 
 int
-algor_p6032_pci_intr_map(struct pci_attach_args *pa,
+algor_p6032_pci_intr_map(const struct pci_attach_args *pa,
     pci_intr_handle_t *ihp)
 {
        static const int pciirqmap[6/*device*/][4/*pin*/] = {



Home | Main Index | Thread Index | Old Index