diff options
author | mav <mav@FreeBSD.org> | 2011-04-27 00:10:26 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2011-04-27 00:10:26 +0000 |
commit | 79493720f3e82cb2313e179784850a9d62c4818f (patch) | |
tree | 5ef8db534c3e8ba0bf7276c5dc63282d3f429e66 /sys/geom/geom.h | |
parent | 1b56a148b08bcf5e62b84762bfce01e1a3af17ef (diff) | |
download | FreeBSD-src-79493720f3e82cb2313e179784850a9d62c4818f.zip FreeBSD-src-79493720f3e82cb2313e179784850a9d62c4818f.tar.gz |
Implement relaxed comparision for hardcoded provider names to make it
ignore adX/adaY difference in both directions to simplify migration to
the CAM-based ATA or back.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index a42721e..1dc6eb1 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -238,6 +238,7 @@ void g_waitidlelock(void); /* geom_subr.c */ int g_access(struct g_consumer *cp, int nread, int nwrite, int nexcl); int g_attach(struct g_consumer *cp, struct g_provider *pp); +int g_compare_names(const char *namea, const char *nameb); void g_destroy_consumer(struct g_consumer *cp); void g_destroy_geom(struct g_geom *pp); void g_destroy_provider(struct g_provider *pp); |