diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-06-10 07:12:26 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-06-10 07:12:26 +0000 |
commit | 87142ed72d344f4ee8ed55f8e5897cb55548b8dc (patch) | |
tree | 7ce720a42a59756bd28368f9c5768cd37cb39de7 /sys/arch | |
parent | d984e3d60708cbb187e5a845d534577f08f5862d (diff) |
Add /dev/video* for amd64.
Help and OK todd@, OK robert@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/conf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/conf.c b/sys/arch/amd64/amd64/conf.c index 9a0fce499b1..cc2720bf999 100644 --- a/sys/arch/amd64/amd64/conf.c +++ b/sys/arch/amd64/amd64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.21 2008/05/27 19:45:29 oga Exp $ */ +/* $OpenBSD: conf.c,v 1.22 2008/06/10 07:12:24 mglocker Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -146,6 +146,7 @@ cdev_decl(cy); cdev_decl(mcd); #include "tun.h" #include "audio.h" +#include "video.h" #include "midi.h" #include "sequencer.h" cdev_decl(music); @@ -244,7 +245,7 @@ struct cdevsw cdevsw[] = #else cdev_notdef(), /* 43 */ #endif - cdev_notdef(), /* 44 */ + cdev_video_init(NVIDEO,video), /* 44: generic video I/O */ cdev_random_init(1,random), /* 45: random data source */ cdev_ocis_init(NPCTR,pctr), /* 46: performance counters */ cdev_disk_init(NRD,rd), /* 47: ram disk driver */ |