Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libpci update to new pci_intr_string()
details: https://anonhg.NetBSD.org/src/rev/6b1de1cfafc1
branches: trunk
changeset: 328727:6b1de1cfafc1
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Apr 15 13:47:06 2014 +0000
description:
update to new pci_intr_string()
diffstat:
sys/rump/dev/lib/libpci/rumpdev_pci.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 4449a81f7000 -r 6b1de1cfafc1 sys/rump/dev/lib/libpci/rumpdev_pci.c
--- a/sys/rump/dev/lib/libpci/rumpdev_pci.c Tue Apr 15 13:41:46 2014 +0000
+++ b/sys/rump/dev/lib/libpci/rumpdev_pci.c Tue Apr 15 13:47:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpdev_pci.c,v 1.2 2014/04/14 21:43:00 pooka Exp $ */
+/* $NetBSD: rumpdev_pci.c,v 1.3 2014/04/15 13:47:06 pooka Exp $ */
/*
* Copyright (c) 2013 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpdev_pci.c,v 1.2 2014/04/14 21:43:00 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpdev_pci.c,v 1.3 2014/04/15 13:47:06 pooka Exp $");
#include <sys/cdefs.h>
#include <sys/param.h>
@@ -131,10 +131,12 @@
}
const char *
-pci_intr_string(pci_chipset_tag_t pc, pci_intr_handle_t ih)
+pci_intr_string(pci_chipset_tag_t pc, pci_intr_handle_t ih,
+ char *buf, size_t buflen)
{
- return "pausebreak";
+ snprintf(buf, buflen, "pausebreak");
+ return buf;
}
void *
Home |
Main Index |
Thread Index |
Old Index