Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/loader/main.c
| Show First 20 Lines • Show All 272 Lines • ▼ Show 20 Lines | probe_zfs_currdev(uint64_t guid) | ||||
| } | } | ||||
| (void)zfs_attach_nvstore(&currdev); | (void)zfs_attach_nvstore(&currdev); | ||||
| return (sanity_check_currdev()); | return (sanity_check_currdev()); | ||||
| } | } | ||||
| #endif | #endif | ||||
| #ifdef MD_IMAGE_SIZE | #ifdef MD_IMAGE_SIZE | ||||
| extern struct devsw md_dev; | |||||
| static bool | static bool | ||||
| probe_md_currdev(void) | probe_md_currdev(void) | ||||
| { | { | ||||
| extern struct devsw md_dev; | |||||
| bool rv; | bool rv; | ||||
| set_currdev_devsw(&md_dev, 0); | set_currdev_devsw(&md_dev, 0); | ||||
| rv = sanity_check_currdev(); | rv = sanity_check_currdev(); | ||||
| if (!rv) | if (!rv) | ||||
| printf("MD not present\n"); | printf("MD not present\n"); | ||||
| return (rv); | return (rv); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 1,459 Lines • Show Last 20 Lines | |||||