Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Add dummy vga_c...
details: https://anonhg.NetBSD.org/src/rev/f1160abca8eb
branches: riastradh-drm2
changeset: 788156:f1160abca8eb
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:29:06 2013 +0000
description:
Add dummy vga_client_register stub to <linux/vgaarb.h>.
diffstat:
sys/external/bsd/drm2/include/linux/vgaarb.h | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r c467ba75dd35 -r f1160abca8eb sys/external/bsd/drm2/include/linux/vgaarb.h
--- a/sys/external/bsd/drm2/include/linux/vgaarb.h Wed Jul 24 02:28:50 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/vgaarb.h Wed Jul 24 02:29:06 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vgaarb.h,v 1.1.2.1 2013/07/24 00:33:12 riastradh Exp $ */
+/* $NetBSD: vgaarb.h,v 1.1.2.2 2013/07/24 02:29:06 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,14 @@
#ifndef _LINUX_VGAARB_H_
#define _LINUX_VGAARB_H_
+struct pci_dev;
+
+static inline int
+vga_client_register(struct pci_dev *pdev __unused, void *cookie __unused,
+ void (*irq_set_state)(void *, bool) __unused,
+ unsigned int (*set_vga_decode)(void *, bool) __unused)
+{
+ return -ENOSYS;
+}
+
#endif /* _LINUX_VGAARB_H_ */
Home |
Main Index |
Thread Index |
Old Index