From 4ec450cefda2f2a784fd39e3369693c82c1d12b6 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 2 Aug 2004 19:59:41 +0000 Subject: [PATCH] Go back to the historical minor numbers. Add a module version while I'm here. Asked for minor numbers by: jhb --- sys/dev/null/null.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/null/null.c b/sys/dev/null/null.c index 1f0bf1937df9..3fc3ac0b88dc 100644 --- a/sys/dev/null/null.c +++ b/sys/dev/null/null.c @@ -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);