Date: Thu, 27 Feb 2003 07:10:36 +0100 From: phk@phk.freebsd.dk To: Nate Lawson <nate@root.org> Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/cam/scsi scsi_target.c Message-ID: <2819.1046326236@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 26 Feb 2003 15:26:48 PST." <Pine.BSF.4.21.0302261523461.67272-100000@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0302261523461.67272-100000@root.org>, Nate Lawson wri tes: >On Wed, 26 Feb 2003, Poul-Henning Kamp wrote: >> Modified files: >> sys/cam/scsi scsi_target.c >> Log: >> msg >> >> Revision Changes Path >> 1.50 +0 -1 src/sys/cam/scsi/scsi_target.c > >Re: (removal of cdevsw_add() calls) > >So how is my driver supposed to be hooked in so that its open() function >is called to do the make_dev? In the past and without NO_DEVFS, the clone >handler was never called unless I also had cdevsw_add(). What is the >expected way of doing things now and are you sure it works? cdevsw_add() has never had anything to do the cloning function. The cloning function gets called when a name is looked up in /dev which has not previously been created make_dev(). -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2819.1046326236>