Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Dec 1997 09:19:22 +0000
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        hackers@freebsd.org
Subject:   Re: Writing Device drivers for 2.2.X etc'
Message-ID:  <348D0D1A.8D2531FE@tdx.co.uk>
References:  <199712090103.LAA07171@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote:
>
> Editing conf.c would have forced you to think about major numbers.
> Minor numbers have always been driver-specific.
>

Yes, I can see that...
 
> 
> Have a look at /usr/share/examples/drivers/make_device_driver.sh.  Note
> that this defaults to major 20, which is for local testing.  Once you're
> reasonably happy with your driver (and if you decide to give it away)
> we can arrange a new number for you...

Ok, I'll give that a go... My /usr/share/examples/drivers directory is kinda
empty though - which distribution is the script in?

One final question - If I write this under 2.2.2 - is it going to compile on
2.2.5 without any trouble?


Thanks for your time,


Karl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?348D0D1A.8D2531FE>