diff options
Diffstat (limited to 'sys/arch/powerpc/pci')
-rw-r--r-- | sys/arch/powerpc/pci/vgafb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/powerpc/pci/vgafb.c b/sys/arch/powerpc/pci/vgafb.c index 7f84cd97e3f..580328c59bc 100644 --- a/sys/arch/powerpc/pci/vgafb.c +++ b/sys/arch/powerpc/pci/vgafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb.c,v 1.8 2001/02/01 23:51:07 drahn Exp $ */ +/* $OpenBSD: vgafb.c,v 1.9 2001/02/28 19:12:40 drahn Exp $ */ /* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */ /* @@ -369,6 +369,10 @@ vgafb_ioctl(v, cmd, data, flag, p) wdf->cmsize = 256; return 0; + case WSDISPLAYIO_LINEBYTES: + *(u_int *)data = cons_linebytes; + return 0; + case WSDISPLAYIO_GETCMAP: return vgafb_getcmap(vc, (struct wsdisplay_cmap *)data); |