Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/iyonix/iyonix Fix fallout from pci_attach_args cons...
details: https://anonhg.NetBSD.org/src/rev/fb6b59d76615
branches: trunk
changeset: 763869:fb6b59d76615
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Apr 06 01:48:43 2011 +0000
description:
Fix fallout from pci_attach_args constification.
diffstat:
sys/arch/iyonix/iyonix/iyonix_pci.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 785c7d8701f5 -r fb6b59d76615 sys/arch/iyonix/iyonix/iyonix_pci.c
--- a/sys/arch/iyonix/iyonix/iyonix_pci.c Wed Apr 06 01:44:45 2011 +0000
+++ b/sys/arch/iyonix/iyonix/iyonix_pci.c Wed Apr 06 01:48:43 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index