Date: Sun, 10 Oct 1999 21:32:42 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Assar Westerlund <assar@sics.se> Cc: committers@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Heads up! Message-ID: <16201.939583962@critter.freebsd.dk> In-Reply-To: Your message of "10 Oct 1999 21:21:24 %2B0200." <5loge7uimj.fsf@assaris.sics.se>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <5loge7uimj.fsf@assaris.sics.se>, Assar Westerlund writes: >Poul-Henning Kamp <phk@critter.freebsd.dk> writes: >> We have now come so far that we can start to kill cdevsw_add() >> calls and rely on make_dev() for most of the device drivers. > >So how is this supposed to work for device kld's? Currently, >cdevsw_add() gets called from the glue generated by DEV_MODULE. The same as for any other driver, once you find your hardware you call make_dev() for it. Use the variant of MODULE macro which doesn't take a cdevsw agument. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16201.939583962>