Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/landisk Fix fallout from pci_attach_args constifica...



details:   https://anonhg.NetBSD.org/src/rev/4b5ebce16744
branches:  trunk
changeset: 763865:4b5ebce16744
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Apr 06 01:32:06 2011 +0000

description:
Fix fallout from pci_attach_args constification.

diffstat:

 sys/arch/landisk/include/pci_machdep.h    |  4 ++--
 sys/arch/landisk/landisk/shpcic_machdep.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r e2bee3c23bb7 -r 4b5ebce16744 sys/arch/landisk/include/pci_machdep.h
--- a/sys/arch/landisk/include/pci_machdep.h    Wed Apr 06 01:31:20 2011 +0000
+++ b/sys/arch/landisk/include/pci_machdep.h    Wed Apr 06 01:32:06 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.h,v 1.1 2006/09/01 21:26:18 uwe Exp $      */
+/*     $NetBSD: pci_machdep.h,v 1.2 2011/04/06 01:32:06 dyoung Exp $   */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -57,7 +57,7 @@
  */
 void landisk_pci_attach_hook(struct device *, struct device *,
     struct pcibus_attach_args *);
-int landisk_pci_intr_map(struct pci_attach_args *, pci_intr_handle_t *);
+int landisk_pci_intr_map(const struct pci_attach_args *, pci_intr_handle_t *);
 const char *landisk_pci_intr_string(pci_chipset_tag_t, pci_intr_handle_t);
 const struct evcnt *landisk_pci_intr_evcnt(pci_chipset_tag_t,pci_intr_handle_t);
 void *landisk_pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int,
diff -r e2bee3c23bb7 -r 4b5ebce16744 sys/arch/landisk/landisk/shpcic_machdep.c
--- a/sys/arch/landisk/landisk/shpcic_machdep.c Wed Apr 06 01:31:20 2011 +0000
+++ b/sys/arch/landisk/landisk/shpcic_machdep.c Wed Apr 06 01:32:06 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: shpcic_machdep.c,v 1.2 2009/08/02 00:06:44 nonaka Exp $        */
+/*     $NetBSD: shpcic_machdep.c,v 1.3 2011/04/06 01:32:06 dyoung Exp $        */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: shpcic_machdep.c,v 1.2 2009/08/02 00:06:44 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: shpcic_machdep.c,v 1.3 2011/04/06 01:32:06 dyoung Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -89,7 +89,7 @@
 }
 
 int
-landisk_pci_intr_map(struct pci_attach_args *pa, pci_intr_handle_t *ihp)
+landisk_pci_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp)
 {
        int pin = pa->pa_intrpin;
        int line = pa->pa_intrline;



Home | Main Index | Thread Index | Old Index