Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch
This commit is contained in:
commit
02bef1e61b
|
@ -61,12 +61,18 @@
|
|||
#define DDI_PROP_DONTPASS 0x0001 /* Don't pass request to parent */
|
||||
#define DDI_PROP_CANSLEEP 0x0002 /* Memory allocation may sleep */
|
||||
|
||||
typedef struct dev_info {
|
||||
major_t di_major;
|
||||
minor_t di_minor;
|
||||
dev_t di_dev;
|
||||
} dev_info_t;
|
||||
|
||||
extern int ddi_strtoul(const char *, char **, int, unsigned long *);
|
||||
extern int ddi_strtol(const char *, char **, int, long *);
|
||||
extern int ddi_strtoull(const char *, char **, int, unsigned long long *);
|
||||
extern int ddi_strtoll(const char *, char **, int, long long *);
|
||||
|
||||
extern dev_info_t *ddi_root_node(void);
|
||||
extern int ddi_prop_lookup_string(dev_t, dev_info_t *, uint_t, char *, char **);
|
||||
extern void ddi_prop_free(void *);
|
||||
|
||||
|
|
|
@ -84,6 +84,13 @@ ddi_strtoll(const char *str, char **endptr, int base,
|
|||
return errno;
|
||||
}
|
||||
|
||||
/* FIXME: Unimplemented */
|
||||
dev_info_t *
|
||||
ddi_root_node(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* FIXME: Unimplemented */
|
||||
int
|
||||
ddi_prop_lookup_string(dev_t match_dev, dev_info_t *dip, uint_t flags,
|
||||
|
|
Loading…
Reference in New Issue