From owner-freebsd-hackers Wed Feb 22 12:02:32 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA02204 for hackers-outgoing; Wed, 22 Feb 1995 12:02:32 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id MAA02198 for ; Wed, 22 Feb 1995 12:02:29 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA25725; Wed, 22 Feb 95 12:56:00 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9502221956.AA25725@cs.weber.edu> Subject: Re: cdev major number for a cyrix driver To: didier@aida.remcomp.fr (Didier Derny) Date: Wed, 22 Feb 95 12:56:00 MST Cc: FreeBSD-hackers@freefall.cdrom.com In-Reply-To: from "Didier Derny" at Feb 21, 95 11:46:35 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@FreeBSD.org Precedence: bulk > I'm writing a driver to configure the internal cache of the Cx486Rx2 processor > > I've implemented a very simple driver to activate/inactivate the cache > and to read an write in the 486Rx2 internal registers. > > this drivers is used by a program that can either load the content of > a configuration file (to use in rc) or to build the configuration file > interactively and then write the new configuration in the registers. > > So I need a cdev major number for this driver. How about hanging the ioctl's off of an existing device, like /dev/kmem? Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.