diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-12-09 00:59:18 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-12-09 00:59:18 +0100 |
commit | 25921536da17d72dccc9aed736ce5f26ba08b4cb (patch) | |
tree | 768fa9cd19cca0f33423459aa3d57fd20dd4cf27 /platform-intel.h | |
parent | imsm: detect option-rom capabilities (diff) | |
download | mdadm-25921536da17d72dccc9aed736ce5f26ba08b4cb.tar.xz mdadm-25921536da17d72dccc9aed736ce5f26ba08b4cb.zip |
imsm: sysfs support routines for determining device connectivity
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'platform-intel.h')
-rw-r--r-- | platform-intel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform-intel.h b/platform-intel.h index 92520027..c1264825 100644 --- a/platform-intel.h +++ b/platform-intel.h @@ -87,3 +87,6 @@ struct sys_dev *find_driver_devices(const char *bus, const char *driver); __u16 devpath_to_vendor(const char *dev_path); void free_sys_dev(struct sys_dev **list); const struct imsm_orom *find_imsm_orom(void); +int disk_attached_to_hba(int fd, const char *hba_path); +char *devt_to_devpath(dev_t dev); +int path_attached_to_hba(const char *disk_path, const char *hba_path); |