diff options
-rw-r--r-- | kernel/fuse_ini.c | 7 | ||||
-rw-r--r-- | kernel/fuse_kernel.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/kernel/fuse_ini.c b/kernel/fuse_ini.c index df91184..34399d7 100644 --- a/kernel/fuse_ini.c +++ b/kernel/fuse_ini.c @@ -42,9 +42,10 @@ #include <sys/sunddi.h> /* used by all entry points for this driver */ /* also used by cb_ops, ddi_create_minor_node, */ /* ddi_get_instance, and ddi_prop_op */ - +#include <sys/cmn_err.h> #include <sys/atomic.h> /* used for debugging, added atomic counter */ +#include "fuse_kernel.h" extern struct modldrv fuse_dev_drv_modldrv; extern struct modlfs fuse_vfs_modldrv; @@ -68,6 +69,10 @@ _init(void) { int rv; + cmn_err(CE_CONT,"Fuse kernel %s interface %d.%d\n", FUSE_SOLARIS_VERSION, + FUSE_KERNEL_VERSION, FUSE_KERNEL_MINOR_VERSION); + cmn_err(CE_CONT,"Fuse kernel init at 0x%lx, modldrv at 0x%lx\n", + (long)_init,(long)&fuse_dev_drv_modldrv); fuse_global_init(); if ((rv = mod_install(&ml)) != 0) { fuse_global_fini(); diff --git a/kernel/fuse_kernel.h b/kernel/fuse_kernel.h index a7aafa8..56ea157 100644 --- a/kernel/fuse_kernel.h +++ b/kernel/fuse_kernel.h @@ -46,6 +46,8 @@ #include <linux/major.h> #endif +#define FUSE_SOLARIS_VERSION "1.1AR.2" + /** Version number of this interface */ #define FUSE_KERNEL_VERSION 7 |