From owner-freebsd-current Wed Aug 11 19:58:15 1999 Delivered-To: freebsd-current@freebsd.org Received: from assaris.sics.se (assaris.sics.se [193.10.66.108]) by hub.freebsd.org (Postfix) with ESMTP id 55CC114D46 for ; Wed, 11 Aug 1999 19:58:12 -0700 (PDT) (envelope-from assar@sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.7.3) id EAA00496; Thu, 12 Aug 1999 04:57:07 +0200 (CEST) To: current@freebsd.org Subject: DEV_MODULE doesn't support dynamic major numbers any longer? Mime-Version: 1.0 (generated by tm-edit 7.68) Content-Type: text/plain; charset=US-ASCII From: Assar Westerlund Date: 12 Aug 1999 04:57:07 +0200 Message-ID: <5lyafhyad8.fsf@assaris.sics.se> Lines: 17 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems to be the case that the possibility of specifying a major number of NOMAJ in DEV_MODULE has vanished. cdevsw_add() doesn't have any code for handling NOMAJ any longer. (The only mention I can find of NOMAJ in a -current kernel tree from 19990811 are these: ./alpha/alpha/promcons.c:284:DEV_MODULE(prom, CDEV_MAJOR, NOMAJ, prom_cdevsw, 0, 0); ./sys/param.h:128:#define NOMAJ 256 /* non-existent device */ which makes me wonder how the promcons works...). Is this intentional that there isn't there any support for dynamically assigning major device numbers or is it an accident that I should go and rectify? /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message