From owner-freebsd-bugs Thu Nov 11 20: 4:36 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id B500814FF7 for ; Thu, 11 Nov 1999 20:04:27 -0800 (PST) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) Received: from rina.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-r-0.1-19990829) with ESMTP id NAA10934; Fri, 12 Nov 1999 13:03:54 +0900 (JST) Message-Id: <199911120403.NAA10934@rina.r.dl.itc.u-tokyo.ac.jp> To: chris@calldei.com Cc: sjr@home.net, freebsd-bugs@FreeBSD.ORG Cc: Seigo Tanimura Subject: Re: make_dev() warnings From: Seigo Tanimura In-Reply-To: Your message of "Thu, 11 Nov 1999 21:40:33 -0600" References: <19991111214033.J48527@holly.calldei.com> X-Mailer: Mew version 1.70 on Emacs 19.34.1 / Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp-2 Content-Transfer-Encoding: 7bit Date: Fri, 12 Nov 1999 13:03:54 +0900 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 11 Nov 1999 21:40:33 -0600, Chris Costello said: >> WARNING: driver xpt should register devices with make_dev() (dev_t = "#xpt/0") >> WARNING: driver pass should register devices with make_dev() (dev_t = "#pass/0") >> >> Is this something that I should send-pr, or are these being worked on? chris> They're things that should be using make_dev(9) instead of chris> whatever it is they're using. chris> If you want to submit a patch for those CAM devices to use chris> make_dev, go right ahead! It would help to add a new argument to .TNpNeNrNiNpNhN_NiNnNiNtN_Nt, so that a unit number(or a periph?) can be passed from .TNsNyNsN/NcNaNmN/NcNaNmN_NxNpNtN.Nc:NxNpNtN_NfNiNnNiNsNhNcNoNnNfNiNg() to .TNsNyNsN/NcNaNmN/NcNaNmN_NxNpNtN.Nc:NxNpNtN_NpNeNrNiNpNhN_NiNnNiNt() and the other functions. None of the CAM drivers seem to call make_dev(). $BC+B<(B $B@59d(B(Seigo Tanimura)|$B2#IM9qN)Bg3XBg3X1!(B $B9)3X8&5f2J(B =========================|$BEE;R>pJs9)3X@l96(B $BCf@n8&5f<<(B M2 Powered by SIEMENS, |$BEl5~Bg3X(B $B>pJs4pHW%;%s%?!<(B $B?^=q4[EE;R2=8&5fItLg(B FreeBSD 4.0-CURRENT |http://www.naklab.dnj.ynu.ac.jp/~tanimura/ (1st Nov 1999) & muesli. |tanimura@r.dl.itc.u-tokyo.ac.jp tanimura@freebsd.org VoxWare Serial Port Driver/Newmidi Midi Driver on FreeBSD: http://www.freebsd.org/~tanimura/newmidi/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message