Changeset 50bed55d in mainline for uspace/lib/device/include/hr.h


Ignore:
Timestamp:
2024-10-18T14:30:56Z (7 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
fad91b9
Parents:
6d55e39
Message:

hr: rename levels to upper case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/device/include/hr.h

    r6d55e39 r50bed55d  
    4646#define HR_DEVNAME_LEN 32
    4747
     48typedef enum hr_level {
     49        HR_LVL_0        = 0x00, /* striping, no redundancy */
     50        HR_LVL_1        = 0x01, /* n-way mirroring */
     51        HR_LVL_4        = 0x04, /* dedicated parity */
     52        HR_LVL_5        = 0x05, /* distributed parity */
     53        HR_LVL_UNKNOWN  = 0xFF
     54} hr_level_t;
     55
    4856typedef struct hr {
    4957        async_sess_t *sess;
    5058} hr_t;
    51 
    52 typedef enum hr_level {
    53         hr_l_0 = 0,
    54         hr_l_1 = 1,
    55         hr_l_4 = 4,
    56         hr_l_5 = 5,
    57         hr_l_linear = 254,
    58         hr_l_empty = 255
    59 } hr_level_t;
    6059
    6160typedef struct hr_config {
Note: See TracChangeset for help on using the changeset viewer.