diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-08 16:16:12 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-08 16:16:12 +0000 |
commit | 51cbfdec746e652d6c25ada3614ff80e61e8b734 (patch) | |
tree | 13dd7b9b4c91d538655ac361dcfd4a5c7dfd47f2 /sys/dev/pci/vga_pci.c | |
parent | a15f4261f35c45e33aeefbebe789e4952e3010e7 (diff) |
support a hook for vga_pci-based ioctls; aaron@ ook
Diffstat (limited to 'sys/dev/pci/vga_pci.c')
-rw-r--r-- | sys/dev/pci/vga_pci.c | 15 |
1 files changed, 14 insertions, 1 deletions
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 <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -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); +} |