add bktr
This commit is contained in:
parent
e14af78731
commit
686a24e882
@ -1,5 +1,5 @@
|
||||
#!/bin/sh -
|
||||
# $NetBSD: MAKEDEV,v 1.98 2002/06/19 15:00:04 wiz Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.99 2002/06/27 18:34:32 ross Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -123,6 +123,7 @@
|
||||
# agp* AGP GART devices
|
||||
# stic* PixelStamp interface chip
|
||||
# systrace syscall tracer
|
||||
# bktr Brooktree 848/849/878/879 based TV cards
|
||||
|
||||
dialin=0
|
||||
dialout=524288
|
||||
@ -169,6 +170,7 @@ all)
|
||||
makedev altq
|
||||
makedev clockctl
|
||||
makedev systrace
|
||||
makedev bktr
|
||||
;;
|
||||
|
||||
minimal)
|
||||
@ -702,6 +704,22 @@ scsibus*)
|
||||
chmod 644 scsibus$unit
|
||||
;;
|
||||
|
||||
bktr)
|
||||
makedev bktr0 bktr1
|
||||
ln -fs bktr0 bktr
|
||||
ln -fs tuner0 tuner
|
||||
ln -fs vbi0 vbi
|
||||
;;
|
||||
|
||||
bktr*)
|
||||
unit=${i#bktr}
|
||||
rm -f bktr$unit tuner$unit vbi$unit
|
||||
mknod bktr$unit c 71 $(($unit + 0))
|
||||
mknod tuner$unit c 71 $(($unit + 16))
|
||||
mknod vbi$unit c 71 $(($unit + 32))
|
||||
chmod 444 bktr$unit tuner$unit vbi$unit
|
||||
;;
|
||||
|
||||
isdn)
|
||||
rm -f isdn
|
||||
mknod isdn c 51 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.63 2002/06/17 16:32:58 christos Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.64 2002/06/27 18:35:29 ross Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
||||
@ -37,7 +37,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.63 2002/06/17 16:32:58 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.64 2002/06/27 18:35:29 ross Exp $");
|
||||
|
||||
#include "opt_systrace.h"
|
||||
#include <sys/param.h>
|
||||
@ -222,6 +222,9 @@ cdev_decl(stic);
|
||||
#include "clockctl.h"
|
||||
cdev_decl(clockctl);
|
||||
|
||||
#include "bktr.h"
|
||||
cdev_decl(bktr);
|
||||
|
||||
struct cdevsw cdevsw[] =
|
||||
{
|
||||
cdev_cn_init(1,cn), /* 0: virtual console */
|
||||
@ -309,6 +312,7 @@ struct cdevsw cdevsw[] =
|
||||
#else
|
||||
cdev_notdef(), /* 70: system call tracing */
|
||||
#endif
|
||||
cdev_bktr_init(NBKTR, bktr), /* 71: Bt848 video capture device */
|
||||
};
|
||||
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user