From owner-freebsd-hackers Sat Jan 7 14:46:46 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA29442 for hackers-outgoing; Sat, 7 Jan 1995 14:46:46 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id OAA29435 for ; Sat, 7 Jan 1995 14:46:39 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id JAA22016; Sun, 8 Jan 1995 09:40:45 +1100 Date: Sun, 8 Jan 1995 09:40:45 +1100 From: Bruce Evans Message-Id: <199501072240.JAA22016@godzilla.zeta.org.au> To: freebsd-hackers@freefall.cdrom.com, hsu@smile.clinet.fi Subject: Re: Porting cyclades driver; sigh Sender: hackers-owner@FreeBSD.org Precedence: bulk >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