Module Name: src
Committed By: dyoung
Date: Wed Apr 6 01:48:44 UTC 2011
Modified Files:
src/sys/arch/iyonix/iyonix: iyonix_pci.c
Log Message:
Fix fallout from pci_attach_args constification.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/iyonix/iyonix/iyonix_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/iyonix/iyonix/iyonix_pci.c
diff -u src/sys/arch/iyonix/iyonix/iyonix_pci.c:1.5 src/sys/arch/iyonix/iyonix/iyonix_pci.c:1.6
--- src/sys/arch/iyonix/iyonix/iyonix_pci.c:1.5 Wed Oct 17 19:55:03 2007
+++ src/sys/arch/iyonix/iyonix/iyonix_pci.c Wed Apr 6 01:48:43 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: iyonix_pci.c,v 1.5 2007/10/17 19:55:03 garbled Exp $ */
+/* $NetBSD: iyonix_pci.c,v 1.6 2011/04/06 01:48:43 dyoung Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iyonix_pci.c,v 1.5 2007/10/17 19:55:03 garbled Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iyonix_pci.c,v 1.6 2011/04/06 01:48:43 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -61,7 +61,8 @@
#include <sys/extent.h>
#include <dev/pci/pciconf.h>
-int iyonix_pci_intr_map(struct pci_attach_args *, pci_intr_handle_t *);
+int iyonix_pci_intr_map(const struct pci_attach_args *,
+ pci_intr_handle_t *);
const char *iyonix_pci_intr_string(void *, pci_intr_handle_t);
const struct evcnt *iyonix_pci_intr_evcnt(void *, pci_intr_handle_t);
void *iyonix_pci_intr_establish(void *, pci_intr_handle_t,
@@ -83,7 +84,7 @@
}
int
-iyonix_pci_intr_map(struct pci_attach_args *pa, pci_intr_handle_t *ihp)
+iyonix_pci_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp)
{
struct i80321_softc *sc = pa->pa_pc->pc_intr_v;
int b, d, f;