Readd sacom to cdevsw.
This commit is contained in:
parent
17e80273eb
commit
b45ffd445a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.c,v 1.2 2001/09/04 21:45:19 wiz Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.3 2001/09/09 09:54:14 toshii Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994-1998 Mark Brinicombe.
|
||||
|
@ -122,6 +122,10 @@
|
|||
#ifndef NRTC
|
||||
#define NRTC 0
|
||||
#endif
|
||||
/*#include "sacom.h"*/
|
||||
#ifndef NSACOM
|
||||
#define NSACOM 0
|
||||
#endif
|
||||
/*#include "scr.h"*/
|
||||
#ifndef NSCR
|
||||
#define NSCR 0
|
||||
|
@ -424,6 +428,7 @@ struct cdevsw cdevsw[] = {
|
|||
cdev_i4brbch_init(NI4BRBCH,i4brbch), /* 81: i4b raw b-channel access */
|
||||
cdev_i4btrc_init(NI4BTRC,i4btrc), /* 82: i4b trace device */
|
||||
cdev_i4btel_init(NI4BTEL,i4btel), /* 83: i4b phone device */
|
||||
cdev_tty_init(NSACOM,sacom), /* 84: SA11x0 serial port */
|
||||
};
|
||||
|
||||
int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
|
||||
|
@ -549,6 +554,8 @@ static int chrtoblktbl[] = {
|
|||
/* 80 */ NODEV,
|
||||
/* 81 */ NODEV,
|
||||
/* 82 */ NODEV,
|
||||
/* 83 */ NODEV,
|
||||
/* 84 */ NODEV,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.h,v 1.1 2001/09/03 01:50:00 matt Exp $ */
|
||||
/* $NetBSD: conf.h,v 1.2 2001/09/09 09:54:13 toshii Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Mark Brinicombe.
|
||||
|
@ -99,6 +99,7 @@ cdev_decl(pc);
|
|||
cdev_decl(ofcons_);
|
||||
cdev_decl(ofd);
|
||||
cdev_decl(ofrtc);
|
||||
cdev_decl(sacom);
|
||||
cdev_decl(scr);
|
||||
cdev_decl(prof);
|
||||
#define ofromread ofromrw
|
||||
|
|
|
@ -9,5 +9,6 @@
|
|||
#define CONF_HAVE_USB
|
||||
|
||||
#include "biconsdev.h"
|
||||
#include "sacom.h"
|
||||
|
||||
#endif /* _HPCARM_CONF_H */
|
||||
|
|
Loading…
Reference in New Issue