Subject: Re: Nee help configuring new device driver into conf.c for NetBSD 1.0
To: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: tech-kern
Date: 04/10/1996 12:49:35
>
> Hello folks. I'm in the midst of writing a device driver for a DecTalk PC
> speech synthesizer for NetBSD/FreeBSD. I'm rcurrently working on a NetBSD
> 1.0 i386 box, in the interests of time, and it was what was conveniently
> available to me, and I'm having a little trouble in the conf.c file. I've
> configured the device driver as a character special device, and am using
> dev_tty_init to make conf.c aware of the device driver's existence. I have
> a line of the form:
>
> cdev_tty_init(NDT,dt), /*43: Dectalk PC synthesizer*/
>
> in the conf.c file, and I have included
> #include "dt.h"
I think you also need a cdev_decl(dt) to define the routines.
Take care,
Bill