Changeset 4066371 in mainline for uspace/lib/device/include/hr.h
- Timestamp:
- 2024-12-06T20:19:21Z (7 months ago)
- Children:
- ea0d494
- Parents:
- 241c3f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/device/include/hr.h
r241c3f6 r4066371 55 55 } hr_level_t; 56 56 57 /* 58 * SNIA 59 * Common RAID Disk Data Format 60 * Specification 61 * Version 2.0 Revision 19 62 */ 63 #define HR_RLQ_RAID4_0 0x00 /* RAID-4 Non-Rotating Parity 0 */ 64 #define HR_RLQ_RAID4_N 0x01 /* RAID-4 Non-Rotating Parity N */ 65 #define HR_RLQ_RAID5_0R 0x00 /* RAID-5 Rotating Parity 0 with Data Restart */ 66 #define HR_RLQ_RAID5_NR 0x02 /* RAID-5 Rotating Parity N with Data Restart */ 67 #define HR_RLQ_RAID5_NC 0x03 /* RAID-5 Rotating Parity N with Data Continuation */ 68 57 69 typedef enum hr_vol_status { 58 70 HR_VOL_ONLINE, /* OK, OPTIMAL */ … … 97 109 size_t bsize; 98 110 hr_vol_status_t status; 111 uint8_t RLQ; 99 112 } hr_vol_info_t; 100 113 … … 109 122 extern const char *hr_get_vol_status_msg(hr_vol_status_t); 110 123 extern const char *hr_get_ext_status_msg(hr_ext_status_t); 124 extern const char *hr_get_layout_str(hr_level_t, uint8_t); 111 125 112 126 #endif
Note:
See TracChangeset
for help on using the changeset viewer.