diff options
author | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-05-15 23:39:19 +0000 |
---|---|---|
committer | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-05-15 23:39:19 +0000 |
commit | 6ab69573ffc79db6fcd0539218e96ded41fcafc1 (patch) | |
tree | a0f63b3afb4bdbe65e4bdd5a8d4eb91280c60ff9 /include/sys/sunddi.h | |
parent | 56f924533023e39edfda09cf1a9c47b4abfe57c7 (diff) |
SPL additions to increase support for updated ZFS build
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@110 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/sys/sunddi.h')
-rw-r--r-- | include/sys/sunddi.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sys/sunddi.h b/include/sys/sunddi.h index c3f3e38cc..660fd0293 100644 --- a/include/sys/sunddi.h +++ b/include/sys/sunddi.h @@ -146,6 +146,17 @@ typedef struct modldrv { #define getmajor(x) (x) #define ddi_driver_major(di) getmajor(di->di_dev) +#define DDI_DEV_T_NONE ((dev_t)-1) +#define DDI_DEV_T_ANY ((dev_t)-2) +#define DDI_MAJOR_T_UNKNOWN ((major_t)0) + +#define DDI_PROP_DONTPASS 0x0001 +#define DDI_PROP_CANSLEEP 0x0002 + +#define ddi_prop_lookup_string(x1,x2,x3,x4,x5) (*x5 = NULL) +#define ddi_prop_free(x) (void)0 +#define ddi_root_node() (void)0 + #define mod_install(x) 0 #define mod_remove(x) 0 |