Date: Sun, 13 Sep 1998 13:31:40 +0200 (CEST) From: Jaroslav Klaus <J.Klaus@sh.cvut.cz> To: freebsd-hackers@FreeBSD.ORG Subject: bdevsw_add, cdevsw_add ? Message-ID: <Pine.BSF.4.02A.9809131322520.7961-100000@hell.sh.cvut.cz>
next in thread | raw e-mail | index | archive | help
Hello, I'm going to learn how to write lkm. In kern/kern_lkm.c there's: if ( err = bdevsw_add(&descrip, args->lkm_dev.bdev, &(args->lkm_olddev.bdev))) { but I can't find where is definition of bdevsw_add (resp. cdevsw_add). I found only prototype in sys/conf.h: int bdevsw_add __P((dev_t *descrip,struct bdevsw *new,struct bdevsw **old)); Thank you. Jarda Klaus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9809131322520.7961-100000>