Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/dreamcast/dev/g2 Adapt intr_string signature
details: https://anonhg.NetBSD.org/src/rev/7a2a554a36b6
branches: trunk
changeset: 328329:7a2a554a36b6
user: martin <martin%NetBSD.org@localhost>
date: Mon Mar 31 12:38:40 2014 +0000
description:
Adapt intr_string signature
diffstat:
sys/arch/dreamcast/dev/g2/gapspci_pci.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r a3efecf59a5f -r 7a2a554a36b6 sys/arch/dreamcast/dev/g2/gapspci_pci.c
--- a/sys/arch/dreamcast/dev/g2/gapspci_pci.c Mon Mar 31 11:43:53 2014 +0000
+++ b/sys/arch/dreamcast/dev/g2/gapspci_pci.c Mon Mar 31 12:38:40 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gapspci_pci.c,v 1.13 2011/07/19 15:52:30 dyoung Exp $ */
+/* $NetBSD: gapspci_pci.c,v 1.14 2014/03/31 12:38:40 martin Exp $ */
/*-
* Copyright (c) 2001 Marcus Comstedt.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: gapspci_pci.c,v 1.13 2011/07/19 15:52:30 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gapspci_pci.c,v 1.14 2014/03/31 12:38:40 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -63,7 +63,8 @@
void gaps_conf_write(void *, pcitag_t, int, pcireg_t);
int gaps_intr_map(struct pci_attach_args *, pci_intr_handle_t *);
-const char *gaps_intr_string(void *, pci_intr_handle_t);
+const char *gaps_intr_string(void *, pci_intr_handle_t,
+ char *buf, size_t len);
void *gaps_intr_establish(void *, pci_intr_handle_t,
int, int (*)(void *), void *);
void gaps_intr_disestablish(void *, void *);
@@ -196,7 +197,8 @@
}
const char *
-gaps_intr_string(void *v, pci_intr_handle_t ih)
+gaps_intr_string(void *v, pci_intr_handle_t ih,
+ char *buf, size_t len)
{
return sysasic_intr_string(SYSASIC_IRL11);
Home |
Main Index |
Thread Index |
Old Index