Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 1995 09:40:45 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@freefall.cdrom.com, hsu@smile.clinet.fi
Subject:   Re: Porting cyclades driver; sigh
Message-ID:  <199501072240.JAA22016@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>NetBSD has got ttymalloc & ttyfree; added into tty.[ch].  Don't know if
>they are correct but hope so.

FreeBSD doesn't need ttymalloc or ttyfree because clists are
self-initialzing (after they are bzeroed) and explicityly freed.

>i386/conf.c is is pretty different; implemented the necessary fancy macros
>NetBSD has for exploding cdevsw entries and declarations.  Leave rest to
>someone else; this should be merged. 

Drivers should initialize the entries for themself so that conf.c doesn't
have to know about 10001 interface functions.  This will be easier when we
have devfs.  Now, conf.c has to know at least enough about all drivers to
allocate fixed major numbers and enough table space for them.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501072240.JAA22016>