Go back to the historical minor numbers. Add a module version while

I'm here.

Asked for minor numbers by:	jhb
This commit is contained in:
Mark Murray 2004-08-02 19:59:41 +00:00
parent 31359ff400
commit 4ec450cefd

View File

@ -49,8 +49,8 @@ static d_ioctl_t null_ioctl;
static d_read_t zero_read;
#define CDEV_MAJOR 2
#define NULL_MINOR 0
#define ZERO_MINOR 1
#define NULL_MINOR 2
#define ZERO_MINOR 12
static struct cdevsw null_cdevsw = {
.d_version = D_VERSION,
@ -140,3 +140,4 @@ null_modevent(module_t mod __unused, int type, void *data __unused)
}
DEV_MODULE(null, null_modevent, NULL);
MODULE_VERSION(null, 1);