]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - platform-intel.h
super1: Avoid if and return on the same line
[thirdparty/mdadm.git] / platform-intel.h
index 695d6c66e5353011fa0750e2fe372125e04aa3bf..a8ae85f4de836b2b66214a1cfdb888af135accb5 100644 (file)
@@ -189,6 +189,7 @@ enum sys_dev_type {
        SYS_DEV_SAS,
        SYS_DEV_SATA,
        SYS_DEV_NVME,
+       SYS_DEV_VMD,
        SYS_DEV_MAX
 };
 
@@ -213,6 +214,7 @@ struct devid_list {
 struct orom_entry {
        struct imsm_orom orom;
        struct devid_list *devid_list;
+       enum sys_dev_type type;
        struct orom_entry *next;
 };
 
@@ -229,6 +231,7 @@ static inline char *guid_str(char *buf, struct efi_guid guid)
 }
 
 char *diskfd_to_devpath(int fd);
+__u16 devpath_to_vendor(const char *dev_path);
 struct sys_dev *find_driver_devices(const char *bus, const char *driver);
 struct sys_dev *find_intel_devices(void);
 const struct imsm_orom *find_imsm_capability(struct sys_dev *hba);
@@ -241,3 +244,4 @@ const char *get_sys_dev_type(enum sys_dev_type);
 const struct orom_entry *get_orom_entry_by_device_id(__u16 dev_id);
 const struct imsm_orom *get_orom_by_device_id(__u16 device_id);
 struct sys_dev *device_by_id(__u16 device_id);
+char *vmd_domain_to_controller(struct sys_dev *hba, char *buf);