diff options
author | phk <phk@FreeBSD.org> | 2004-09-10 20:49:30 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-09-10 20:49:30 +0000 |
commit | 0dc3b359ffdb348ac270bc7c08f792f8604ad2b9 (patch) | |
tree | e30bd7e78acb669c913ae3049cf119dc65548b71 | |
parent | f2928840042d7396fe941cd329a110a95816949f (diff) | |
download | FreeBSD-src-0dc3b359ffdb348ac270bc7c08f792f8604ad2b9.zip FreeBSD-src-0dc3b359ffdb348ac270bc7c08f792f8604ad2b9.tar.gz |
Add two spare elements for planned but not yet implemented stuff related
to device driver unloading. Adding these two now and MT5'ing them will
allow us to preserve binary compatibility on RELENG_5 when these facilities
are MFC'ed.
MT5 Candiate.
-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; |