From owner-freebsd-current@FreeBSD.ORG Tue Apr 19 04:24:57 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB8F516A4CE for ; Tue, 19 Apr 2005 04:24:57 +0000 (GMT) Received: from lakermmtao02.cox.net (lakermmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BA8D43D46 for ; Tue, 19 Apr 2005 04:24:57 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.70.216]) by lakermmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050419042454.NOGU6521.lakermmtao02.cox.net@dolphin.local.net>; Tue, 19 Apr 2005 00:24:54 -0400 Received: from dolphin.local.net (conrads@localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.3/8.13.3) with ESMTP id j3J4Ot8q019198; Mon, 18 Apr 2005 23:24:55 -0500 (CDT) (envelope-from conrads@cox.net) Date: Mon, 18 Apr 2005 23:24:55 -0500 From: "Conrad J. Sabatier" To: freebsd-current@freebsd.org Message-ID: <20050418232455.2d530890@dolphin.local.net> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: Mathew Kanner Subject: What happened to the "d_maj" member of "struct cdevsw" in CURRENT? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 04:24:57 -0000 I've been trying to help Mat Kanner with his yet-to-be-committed MIDI patches, and have run into a perplexing problem on amd64 CURRENT. It seems the "d_maj" member of "struct cdevsw" no longer exists (in sys/sys/conf.h). This is causing Mat's MIDI patches to fail with: > ===> sound/midi (all) > cc -O -pipe -march=athlon64 -Wno-error -D_KERNEL -DKLD_MODULE > -nostdinc -I- -include /usr/obj/usr/src/sys/CUSTOM/opt_global.h -I. > -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g > -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/CUSTOM -mcmodel=kernel > -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -std=c99 -c > /usr/src/sys/modules/sound/midi/../../../dev/sound/midi/midi.c > /usr/src/sys/modules/sound/midi/../../../dev/sound/midi/midi.c:204: > error: unknown field `d_maj' specified in initializer When was this member removed, and why? And how to work around this? Thanks! -- Conrad J. Sabatier -- "In Unix veritas"