> > I ask, as my RNG is a kld, and I want it to be as separate as possible > > without getting ridiculous. > > Yes. You could just cut/paste the existing mem.c driver, and remove > everything but the random hooks. In your init code register minors 3 and > 4, and that's all you have to worry about. Cool! So it means I can also remove the switch (minor(dev)) { 3: /* Stuff */ break; default: return FOO; } and reduce that to /* Stuff */ On the grounds that my routine will never see the other crap? If so, way cool! M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Major device numbers and mem device redesign Mark Murray
- Re: Major device numbers and mem device redesi... Doug Rabson
- Re: Major device numbers and mem device re... Peter Wemm
- Re: Major device numbers and mem devic... Mark Murray
- Re: Major device numbers and mem d... Peter Wemm
- Re: Major device numbers and ... Mark Murray
- Re: Major device numbers ... Poul-Henning Kamp
- Re: Major device numbers and ... Mark Murray
- Re: Major device numbers and mem d... Jeroen C. van Gelderen
- Re: Major device numbers and ... Mark Murray
- Re: Major device numbers and mem d... Poul-Henning Kamp
- Re: Major device numbers and mem device redesi... David O'Brien
- Re: Major device numbers and mem device redesi... David O'Brien
- Re: Major device numbers and mem device re... Mark Murray