Fix more const pci_attach_args fallout.
This commit is contained in:
parent
14d704c9e9
commit
3f56488c0d
|
@ -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 @@ const char * const p4032_intrgroups[NINTRS] = {
|
|||
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 @@ algor_p4032_iointr(int ipl, vaddr_t pc, u_int32_t ipending)
|
|||
*****************************************************************************/
|
||||
|
||||
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*/] = {
|
||||
|
|
|
@ -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 @@ const char * const p6032_cpuintrnames[NINTRS] = {
|
|||
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 @@ algor_p6032_iointr(int ipl, vaddr_t pc, uint32_t ipending)
|
|||
*****************************************************************************/
|
||||
|
||||
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*/] = {
|
||||
|
|
Loading…
Reference in New Issue