From 51cbfdec746e652d6c25ada3614ff80e61e8b734 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 8 May 2001 16:16:12 +0000 Subject: support a hook for vga_pci-based ioctls; aaron@ ook --- sys/dev/pci/vga_pci.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci/vga_pci.c') diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c index bf6131a2b0a..f91902a359e 100644 --- a/sys/dev/pci/vga_pci.c +++ b/sys/dev/pci/vga_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga_pci.c,v 1.9 2000/11/19 03:28:53 aaron Exp $ */ +/* $OpenBSD: vga_pci.c,v 1.10 2001/05/08 16:16:11 mickey Exp $ */ /* $NetBSD: vga_pci.c,v 1.3 1998/06/08 06:55:58 thorpej Exp $ */ /* @@ -28,6 +28,8 @@ * rights to redistribute these changes. */ +#include "vga.h" + #include #include #include @@ -133,3 +135,14 @@ vga_pci_cnattach(iot, memt, pc, bus, device, function) { return (vga_cnattach(iot, memt, WSDISPLAY_TYPE_PCIVGA, 0)); } + +int +vga_pci_ioctl(v, cmd, addr, flag, p) + void *v; + u_long cmd; + caddr_t addr; + int flag; + struct proc *p; +{ + return (ENOTTY); +} -- cgit v1.2.3