diff options
-rw-r--r-- | sys/sys/conf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index e966531..f5a08a8 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -153,6 +153,9 @@ typedef int d_kqfilter_t(struct cdev *dev, struct knote *kn); typedef int d_mmap_t(struct cdev *dev, vm_offset_t offset, vm_paddr_t *paddr, int nprot); +typedef int d_spare1_t(struct cdev *dev); +typedef int d_spare2_t(struct cdev *dev); + typedef int dumper_t( void *priv, /* Private to the driver. */ void *virtual, /* Virtual (mapped) address. */ @@ -216,6 +219,8 @@ struct cdevsw { d_strategy_t *d_strategy; dumper_t *d_dump; d_kqfilter_t *d_kqfilter; + d_spare1_t *d_spare1; + d_spare2_t *d_spare2; /* These fields should not be messed with by drivers */ LIST_ENTRY(cdevsw) d_list; |